socsvn commit: r254231 - soc2013/mattbw/backend

mattbw at FreeBSD.org mattbw at FreeBSD.org
Sat Jul 6 09:22:42 UTC 2013


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


More information about the svn-soc-all mailing list