X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libopkg%2Fpkg_hash.c;h=dbed3febfbbe68925c85eefe99177385e40c4eb1;hb=9bbc7eae91edc3dbb020e2a50d51d9a3fbbf31ca;hp=879c0ec0e693a62ce507c303f6c1fa2249895a23;hpb=efb26a35e4e5446f135307c4ff7df9e9563c23a9;p=project%2Fopkg-lede.git diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c index 879c0ec..dbed3fe 100644 --- a/libopkg/pkg_hash.c +++ b/libopkg/pkg_hash.c @@ -263,7 +263,7 @@ pkg_hash_check_unresolved(pkg_t *maybe) if (unresolved) { res = 1; tmp = unresolved; - while (tmp) + while (*tmp) free(*(tmp++)); free(unresolved); }