From owner-svn-soc-all@FreeBSD.ORG Sat Jul 6 09:22:42 2013 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A9606C5C for ; Sat, 6 Jul 2013 09:22:42 +0000 (UTC) (envelope-from mattbw@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 99D3C1F27 for ; Sat, 6 Jul 2013 09:22:42 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.7/8.14.7) with ESMTP id r669MgjR064595 for ; Sat, 6 Jul 2013 09:22:42 GMT (envelope-from mattbw@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.7/8.14.6/Submit) id r669MgKE064590 for svn-soc-all@FreeBSD.org; Sat, 6 Jul 2013 09:22:42 GMT (envelope-from mattbw@FreeBSD.org) Date: Sat, 6 Jul 2013 09:22:42 GMT Message-Id: <201307060922.r669MgKE064590@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to mattbw@FreeBSD.org using -f From: mattbw@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r254231 - soc2013/mattbw/backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 09:22:42 -0000 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