From 3c3c610c5724d81a520edf9d6555b827c8248779 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 14 Jul 2006 00:32:46 +0000 Subject: [PATCH] A recent backpatch to 7.3's contrib/ltree got mixed up, putting code in the wrong place. This moves it to the right place which allows it to compile. Patch from Kris Jurka. --- contrib/ltree/_ltree_gist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ltree/_ltree_gist.c b/contrib/ltree/_ltree_gist.c index a236058ecec..d065f396370 100644 --- a/contrib/ltree/_ltree_gist.c +++ b/contrib/ltree/_ltree_gist.c @@ -609,7 +609,6 @@ gist_qe(ltree_gist * key, lquery * query) curq = LQL_NEXT(curq); qlen--; } - PG_FREE_IF_COPY(query,1); return true; } @@ -645,5 +644,6 @@ _ltree_consistent(PG_FUNCTION_ARGS) default: elog(ERROR, "Unknown StrategyNumber: %d", strategy); } + PG_FREE_IF_COPY(query,1); PG_RETURN_BOOL(res); } -- 2.39.5