On Thu, 2010-10-07 at 17:18 +0300, Harri Pitkänen wrote: > This patch closes a file that would be left open if memory allocation fails. > The cppcheck error was [profile.c:248]: (error) Memory leak: pFile > > Harri Thanks for the nice patch, looked good to me, pushed regards, Noel