From c15b393f50a332d913d30fa44456530b45b66880 Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Mon, 2 Nov 2009 00:23:05 +0000 Subject: [PATCH] free() temporary string. git-svn-id: http://opkg.googlecode.com/svn/trunk@232 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- libopkg/opkg_cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 91976ae..b2ba7a5 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -252,6 +252,7 @@ static int opkg_update_cmd(opkg_conf_t *conf, int argc, char **argv) fclose (out); unlink (tmp_file_name); } + free(tmp_file_name); } else err = opkg_download(conf, url, list_file_name, NULL, NULL); if (err) { -- 2.25.1