xbps_remove_pkg: fix a memleak, thanks valgrind.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100113171003-aiome0xxe5l1f96a
This commit is contained in:
Juan RP 2010-01-13 18:10:03 +01:00
parent 536fb8a86e
commit 05bad9c0d5

View File

@ -214,6 +214,8 @@ xbps_remove_pkg(const char *pkgname, const char *version, bool update)
prop_object_release(dict);
return rv;
}
prop_object_release(dict);
/*
* Run the post remove action if REMOVE file is there
* and we aren't updating a package.