mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Use PQfreemem() consistently, and document its use for Notify.
Keep PQfreeNotify() around for binary compatibility.
This commit is contained in:
@@ -2066,7 +2066,7 @@ pg_getnotify(pgobject * self, PyObject * args)
|
||||
}
|
||||
|
||||
PyTuple_SET_ITEM(notify_result, 1, temp);
|
||||
free(notify);
|
||||
PQfreemem(notify);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user