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
[email protected]

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to