mktemp: simplify -fsanitize=leak pacification

* src/mktemp.c (main) [lint]: Omit unnecessary cleanup.
Use main_exit, not return.
This commit is contained in:
Paul Eggert committed 2022-01-31 12:07:39 -08:00
1 parent d85374258a
commit 6ca7266666
1 file changed
+1 -6
+1 -6
View File
@@ -341,10 +341,5 @@ main (int argc, char **argv)
}
}
#ifdef lint
free (dest_name);
free (template);
#endif
return status;
main_exit (status);
}