xbps-query/search.c: fix a memleak found by cppcheck.

This commit is contained in:
Juan RP 2012-11-06 09:13:05 +01:00
parent ef6ed7d8c7
commit c7402a9176

View File

@ -136,6 +136,7 @@ show_pkg_namedesc(struct xbps_handle *xhp,
} else { } else {
printf("%s %s %s\n", inststr, tmp, desc); printf("%s %s %s\n", inststr, tmp, desc);
} }
free(tmp);
} }
} }