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:
@ -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,
|
|||||||
* 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user