diff options
-rw-r--r-- | psycopg/pqpath.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index afab3b1..5c8d3c7 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -348,7 +348,6 @@ pq_complete_error(connectionObject *conn, PGresult **pgres, char **error) pq_raise(conn, NULL, *pgres); else if (*error != NULL) { PyErr_SetString(OperationalError, *error); - free(*error); } else { PyErr_SetString(OperationalError, "unknown error"); } |