1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-10 14:22:35 +03:00

Missing calls to PQclear in large_obj.c and describe.c.

Greg Sabino Mullane
This commit is contained in:
Tom Lane
2003-06-27 16:55:23 +00:00
parent b256f24264
commit 7dc5472d48
2 changed files with 22 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.25 2003/04/18 23:38:47 tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.26 2003/06/27 16:55:23 tgl Exp $
*/
#include "postgres_fe.h"
#include "large_obj.h"
@@ -78,6 +78,7 @@ handle_transaction(void)
}
PQsetNoticeProcessor(pset.db, old_notice_hook, NULL);
PQclear(res);
return true;
}
@@ -324,6 +325,7 @@ do_lo_unlink(const char *loid_arg)
}
return false;
}
PQclear(res);
}
if (own_transaction)