Missing free in sha256 hash verification
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 30 Oct 2009 17:04:06 +0000 (17:04 +0000)
committerpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 30 Oct 2009 17:04:06 +0000 (17:04 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@231 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg_install.c

index 8ced15a..aae72be 100644 (file)
@@ -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