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
1 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
*
*
* 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,
* free the nulls array if we allocated one..
*/
if (nodomains > 64)
{
pfree(null_head);
pfree(fjIsNull);
}
return newTuple;
}