diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-06-02 14:24:48 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-06-02 14:24:48 +0100 |
commit | b326a277743b80dde7e5263a232db8df99149164 (patch) | |
tree | 0466cc3f74f383cc240218bda54ff6c87bceeef6 /psycopg/connection_int.c | |
parent | 0a7261268bcfd225cbd66a3b93a730d69a32f047 (diff) | |
download | psycopg2-b326a277743b80dde7e5263a232db8df99149164.tar.gz |
Dropped unneeded constness on the notice message
That's a strdup result, we 0wn it.
Diffstat (limited to 'psycopg/connection_int.c')
-rw-r--r-- | psycopg/connection_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index aea2841..8fce908 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -154,7 +154,7 @@ conn_notice_clean(connectionObject *self) while (notice != NULL) { tmp = notice; notice = notice->next; - free((void*)tmp->message); + free(tmp->message); free(tmp); } |