aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pgmodule.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-03-25 02:44:36 +0000
committerBruce Momjian <bruce@momjian.us>2003-03-25 02:44:36 +0000
commitf1792b932c574eada6527a87e2489364f700fca4 (patch)
tree7e7d1f2ff809c2b0542110e68e5cbf5d88715310 /src/interfaces/python/pgmodule.c
parent6a19c6dccfee66df3970dfba15a8590fdd399bc1 (diff)
downloadpostgresql-f1792b932c574eada6527a87e2489364f700fca4.tar.gz
postgresql-f1792b932c574eada6527a87e2489364f700fca4.zip
Use PQfreemem() consistently, and document its use for Notify.
Keep PQfreeNotify() around for binary compatibility.
Diffstat (limited to 'src/interfaces/python/pgmodule.c')
-rw-r--r--src/interfaces/python/pgmodule.c2
1 files changed, 1 insertions, 1 deletions
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
{