From f1792b932c574eada6527a87e2489364f700fca4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 25 Mar 2003 02:44:36 +0000 Subject: Use PQfreemem() consistently, and document its use for Notify. Keep PQfreeNotify() around for binary compatibility. --- src/interfaces/python/pgmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/python/pgmodule.c') diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index f0194ed0e17..b659c99759e 100644 --- a/src/interfaces/python/pgmodule.c +++ b/src/interfaces/python/pgmodule.c @@ -2066,7 +2066,7 @@ pg_getnotify(pgobject * self, PyObject * args) } PyTuple_SET_ITEM(notify_result, 1, temp); - free(notify); + PQfreemem(notify); } else { -- cgit v1.2.3