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