xbps-query/search.c: fix a memleak found by cppcheck.
This commit is contained in:
@ -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