diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-03-20 15:54:42 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-03-20 16:43:16 +0000 |
| commit | 3410fee8d1e0bdd636a8087669ff93d3b191a9eb (patch) | |
| tree | 26b3c14108c18189e19f06bc78196ffb090428f1 /psycopg/connection.h | |
| parent | 9813bac4fef1ad3a3a35596c03b496bee674fe2c (diff) | |
| download | psycopg2-3410fee8d1e0bdd636a8087669ff93d3b191a9eb.tar.gz | |
Fixed leak of cancel key on connection.reset()
Moving the final free into the destructor is not necessary but looks
appropriate.
Diffstat (limited to 'psycopg/connection.h')
| -rw-r--r-- | psycopg/connection.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h index 4787e11..fc8c877 100644 --- a/psycopg/connection.h +++ b/psycopg/connection.h @@ -134,7 +134,6 @@ HIDDEN int conn_get_standard_conforming_strings(PGconn *pgconn); RAISES_NEG HIDDEN int conn_get_isolation_level(connectionObject *self); HIDDEN int conn_get_protocol_version(PGconn *pgconn); HIDDEN int conn_get_server_version(PGconn *pgconn); -HIDDEN PGcancel *conn_get_cancel(PGconn *pgconn); HIDDEN void conn_notice_process(connectionObject *self); HIDDEN void conn_notice_clean(connectionObject *self); HIDDEN void conn_notifies_process(connectionObject *self); |
