[LTP] [PATCH 1/2] pathconf01: Convert to new API
Xiao Yang
yangx.jy@fujitsu.com
Tue Nov 28 07:32:00 CET 2023
On 2023/11/28 13:21, Xiao Yang wrote:
> -/***************************************************************
> - * cleanup() - performs all ONE TIME cleanup for this test at
> - * completion or premature exit.
> - ***************************************************************/
> void cleanup(void)
Hi Yang
One more hint:
static void cleanup(void) is better here.
Best Regards,
Xiao Yang
> {
> - if (!lflag) {
> - tst_rmdir();
> - free(path);
> - }
> + free(path);
More information about the ltp
mailing list