diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-03-25 02:44:36 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-03-25 02:44:36 +0000 |
commit | f1792b932c574eada6527a87e2489364f700fca4 (patch) | |
tree | 7e7d1f2ff809c2b0542110e68e5cbf5d88715310 /src/interfaces/python/pgmodule.c | |
parent | 6a19c6dccfee66df3970dfba15a8590fdd399bc1 (diff) | |
download | postgresql-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.c | 2 |
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 { |