Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2013 09:22:42 GMT
From:      mattbw@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r254231 - soc2013/mattbw/backend
Message-ID:  <201307060922.r669MgKE064590@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mattbw
Date: Sat Jul  6 09:22:42 2013
New Revision: 254231
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254231

Log:
  fix locking database issue

Modified:
  soc2013/mattbw/backend/query.c

Modified: soc2013/mattbw/backend/query.c
==============================================================================
--- soc2013/mattbw/backend/query.c	Sat Jul  6 09:03:22 2013	(r254230)
+++ soc2013/mattbw/backend/query.c	Sat Jul  6 09:22:42 2013	(r254231)
@@ -278,6 +278,7 @@
 		it = NULL;
 	if (it != NULL)
 		success = match_id_in_it(it, q, match_id_p, match_pkg_p);
+	pkgdb_it_free(it);
 
 	/* Next, try a remote search, again only if applicable. */
 	if (success == FALSE && (try_remote == TRUE))
@@ -286,6 +287,7 @@
 		it = NULL;
 	if (it != NULL)
 		success = match_id_in_it(it, q, match_id_p, match_pkg_p);
+	pkgdb_it_free(it);
 
 	/*
 	 * Assume any error is due to not finding packages. At time of



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307060922.r669MgKE064590>