Commit 0dfc3584 authored by Bruce Momjian's avatar Bruce Momjian

Fix for memory leak in executor with fjIsNull.

parent bd6f98af
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.48 1999/03/14 20:01:14 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.49 1999/03/19 22:31:39 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1598,8 +1598,11 @@ ExecTargetList(List *targetlist, ...@@ -1598,8 +1598,11 @@ ExecTargetList(List *targetlist,
* free the nulls array if we allocated one.. * free the nulls array if we allocated one..
*/ */
if (nodomains > 64) if (nodomains > 64)
{
pfree(null_head); pfree(null_head);
pfree(fjIsNull);
}
return newTuple; return newTuple;
} }
......
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