consistently with :pep:`475` guideline (:ticket:`#667`).
- Fix support for connection strings with multiple hosts/ports and for the
``load_balance_hosts`` connection parameter (:ticket:`#674`).
+- Fix memory leak receiving notifications in Python implementation
+ (:ticket:`#679`).
Current release
ptr = impl.PQnotifies(self._pgconn_ptr)
if ptr:
c = ptr.contents
- return PGnotify(c.relname, c.be_pid, c.extra)
+ rv = PGnotify(c.relname, c.be_pid, c.extra)
impl.PQfreemem(ptr)
+ return rv
else:
return None