1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Fix for memory leak in executor with fjIsNull.

This commit is contained in:
Bruce Momjian
1999-03-19 22:31:39 +00:00
parent bd6f98af31
commit 0dfc358427

View File

@ -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,7 +1598,10 @@ 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;
} }