On Thu, Jul 1, 2010 at 9:02 PM, Ithamar R. Adema <ithamar.adema@xxxxxxxxxxxxxxxx> wrote: > On Thu, 2010-07-01 at 13:56 +0200, wpjvandermeer@xxxxxxxxx wrote: >> - gDeviceNames[index++] = DEVICE_NAME; >> + gDeviceNames[index++] = strdup(DEVICE_NAME); > > You're leaking here. If you want to fix it this way, you need to make > sure the for() loop starts freeing at 0, and not at 1. > > HTH, > > Ithamar. > > > > Thanks for pointing this out. I fixed it in r37325. -- Wim van der Meer \/\///\/\