xbps_rpool_release: fix a memleak found by valgrind.
(cherry picked from commit 90e24f4b18fdde44958584cdc038ff8a88e919a0)
This commit is contained in:
parent
e370ff0625
commit
15e43e550b
@ -141,6 +141,7 @@ xbps_rpool_release(struct xbps_handle *xhp)
|
||||
}
|
||||
prop_object_release(d);
|
||||
}
|
||||
prop_object_release(xhp->repo_pool);
|
||||
xhp->repo_pool = NULL;
|
||||
xbps_dbg_printf(xhp, "[rpool] released ok.\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user