From 9b3d93293adde8f98f75886431202b636ceab004 Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Mon, 27 Oct 1997 12:00:43 +0000 Subject: [PATCH] Free ascii representations of compared values! --- src/backend/executor/nodeGroup.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/backend/executor/nodeGroup.c b/src/backend/executor/nodeGroup.c index 4fb42e429f9..15ba3ed9417 100644 --- a/src/backend/executor/nodeGroup.c +++ b/src/backend/executor/nodeGroup.c @@ -13,7 +13,7 @@ * columns. (ie. tuples from the same group are consecutive) * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.10 1997/09/12 04:07:43 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.11 1997/10/27 12:00:43 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -428,7 +428,13 @@ sameGroup(TupleTableSlot *oldslot, * strcmp for comparison */ if (strcmp(val1, val2) != 0) + { + pfree (val1); + pfree (val2); return FALSE; + } + pfree (val1); + pfree (val2); } else {