Hi, OEyvind Kolaas <pippin@xxxxxxxxxxxx> writes: > But when I finally managed to seal the last memory leak I realised that > the code I ended up with was quite readable. > (for those interested, take a look at the bottom of > http://hal9001.2y.net/yuvadj/yuvadjust/main.c ) using goto does indeed make sense under some circumstances, but I don't get why you are not writing this as a switch without the gotos. Did I miss something? Salut, Sven