From: pixdamix Date: Fri, 30 Oct 2009 17:04:06 +0000 (+0000) Subject: Missing free in sha256 hash verification X-Git-Url: http://git.openwrt.org/?p=project%2Fopkg-lede.git;a=commitdiff_plain;h=31d07533a12024a5a6c6f50d538cacda055f57b8 Missing free in sha256 hash verification git-svn-id: http://opkg.googlecode.com/svn/trunk@231 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index 8ced15a..aae72be 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -897,6 +897,7 @@ int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade) free(file_sha256); return OPKG_INSTALL_ERR_SHA256; } + free(file_sha256); } #endif