|
From: Markos C. <mar...@gm...> - 2013-03-18 12:31:38
|
On 18 March 2013 12:29, <ch...@su...> wrote: > Hi! >> >> + if (longsyscall) >> >> + free(dirp64); >> >> + else >> >> + free(dirp); >> >> + >> >> cleanup(); >> >> >> >> tst_exit(); >> > >> > You don't need to bother to free the buffers when the next thing the >> > test does is exit, the whole heap along with malloc data structures will >> > be freed (unmapped) by the kernel anyway. >> > >> > -- >> > Cyril Hrubis >> > ch...@su... >> >> Hi Cyril, >> >> I understand. Should I send a new patch or maybe you could fix it >> before committing it? > > I will fix that. > > -- > Cyril Hrubis > ch...@su... Thanks Cyril. -- Regards, Markos Chandras |