From 8abd275bfb8b3f0967c1800ce22e09d66e9fd8bb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 Jun 2012 10:49:36 +0200 Subject: [PATCH] libxbps: xbps_rpool_release: don't release repo_pool, it's already released. --- include/xbps_api.h | 2 +- lib/repository_pool.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/xbps_api.h b/include/xbps_api.h index 9ff4057c..1dba755a 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -56,7 +56,7 @@ */ #define XBPS_PKGINDEX_VERSION "1.5" -#define XBPS_API_VERSION "20120618" +#define XBPS_API_VERSION "20120618-1" #define XBPS_VERSION "0.16" /** diff --git a/lib/repository_pool.c b/lib/repository_pool.c index 7e39a5fa..9df63aae 100644 --- a/lib/repository_pool.c +++ b/lib/repository_pool.c @@ -141,7 +141,6 @@ 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"); }