From: graham.gower Date: Mon, 2 Nov 2009 00:23:05 +0000 (+0000) Subject: free() temporary string. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c15b393f50a332d913d30fa44456530b45b66880;p=oweals%2Fopkg-lede.git free() temporary string. git-svn-id: http://opkg.googlecode.com/svn/trunk@232 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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) {