xbps-query/search.c: fix a memleak found by cppcheck.
This commit is contained in:
1 parent
ef6ed7d8c7
commit
c7402a9176
1 file changed
+1
@@ -136,6 +136,7 @@ show_pkg_namedesc(struct xbps_handle *xhp,
|
||||
} else {
|
||||
printf("%s %s %s\n", inststr, tmp, desc);
|
||||
}
|
||||
free(tmp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user