|
From: <ch...@su...> - 2013-03-18 12:28:54
|
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... |