[LTP] [PATCH v4] Add stat04 test

Cyril Hrubis chrubis@suse.cz
Fri Feb 23 12:09:54 CET 2024


Hi!
> If SAFE_SYMLINK() fails, free() will not happen. I wonder if we should bother
> (we'd have to set it NULL and add a cleanup function).

There is no point in bothering to deallocate memory if the process is
going to call exit() soon anyways.

My main complaint was that we allocated memory in run() function, which
is obviously a problem for large enough -i...

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list