xbps_rpool_release: fix a memleak found by valgrind.

(cherry picked from commit 90e24f4b18fdde44958584cdc038ff8a88e919a0)
This commit is contained in:
Juan RP 2012-09-24 11:48:33 +02:00
parent e370ff0625
commit 15e43e550b

View File

@ -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");
}