mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
mktemp: simplify -fsanitize=leak pacification
* src/mktemp.c (main) [lint]: Omit unnecessary cleanup. Use main_exit, not return.
This commit is contained in:
1 parent
d85374258a
commit
6ca7266666
1 file changed
+1
-6
+1
-6
@@ -341,10 +341,5 @@ main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef lint
|
||||
free (dest_name);
|
||||
free (template);
|
||||
#endif
|
||||
|
||||
return status;
|
||||
main_exit (status);
|
||||
}
|
||||
Reference in new issue
Block a user