diff options
author | James Henstridge <james@jamesh.id.au> | 2008-03-30 22:15:21 +0000 |
---|---|---|
committer | James Henstridge <james@jamesh.id.au> | 2008-03-30 22:15:21 +0000 |
commit | 23866bc35dd20af7e4c63efe8c4ed06285e4180e (patch) | |
tree | 88fb2565cb813010131c8aeb0ec1273306823332 /psycopg/adapter_datetime.c | |
parent | e848585b90fd82b708757cb319a3fbfd896c233b (diff) | |
download | psycopg2-23866bc35dd20af7e4c63efe8c4ed06285e4180e.tar.gz |
* psycopg/connection_type.c (connection_dealloc): free
connection->encoding with free() instead of PyMem_Free().
* psycopg/connection_int.c (conn_connect): use malloc() to
allocate connection->encoding instead of PyMem_Malloc(), since it
is freed in other places with free() and assigned to with
strdup().
Diffstat (limited to 'psycopg/adapter_datetime.c')
0 files changed, 0 insertions, 0 deletions