mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-14 19:32:10 +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
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Jim Meyering */
|
||||
/* Written by Jim Meyering. */
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
@@ -279,6 +279,7 @@ main (int argc, char **argv)
|
||||
|
||||
#ifdef lint
|
||||
free (dest_name);
|
||||
free (template);
|
||||
#endif
|
||||
|
||||
exit (status);
|
||||
|
||||
Reference in New Issue
Block a user