summaryrefslogtreecommitdiff
path: root/psycopg/connection_int.c
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 14:24:48 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2015-06-02 14:24:48 +0100
commitb326a277743b80dde7e5263a232db8df99149164 (patch)
tree0466cc3f74f383cc240218bda54ff6c87bceeef6 /psycopg/connection_int.c
parent0a7261268bcfd225cbd66a3b93a730d69a32f047 (diff)
downloadpsycopg2-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.c2
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);
}