Commit 9b3d9329 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Free ascii representations of compared values!

parent a2c476b5
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* columns. (ie. tuples from the same group are consecutive) * columns. (ie. tuples from the same group are consecutive)
* *
* IDENTIFICATION * 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, ...@@ -428,7 +428,13 @@ sameGroup(TupleTableSlot *oldslot,
* strcmp for comparison * strcmp for comparison
*/ */
if (strcmp(val1, val2) != 0) if (strcmp(val1, val2) != 0)
{
pfree (val1);
pfree (val2);
return FALSE; return FALSE;
}
pfree (val1);
pfree (val2);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment