mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
mktemp: plug an inconsequential leak
* src/mktemp.c (main) [lint]: Free template.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/* Jim Meyering */
|
/* Written by Jim Meyering. */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -279,6 +279,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
#ifdef lint
|
#ifdef lint
|
||||||
free (dest_name);
|
free (dest_name);
|
||||||
|
free (template);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
exit (status);
|
exit (status);
|
||||||
|
|||||||
Reference in New Issue
Block a user