summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-10-30 13:04:06 (EDT)
committer pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-10-30 13:04:06 (EDT)
commit31d07533a12024a5a6c6f50d538cacda055f57b8 (patch)
treeefbc8ea1f9577d1291ac7809c4859a90731a63cc
parentb4e6c27c089a4662b4c88396fcbb495921b431e8 (diff)
Missing free in sha256 hash verification
git-svn-id: http://opkg.googlecode.com/svn/trunk@231 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/opkg_install.c1
1 files changed, 1 insertions, 0 deletions
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