Permalink
Browse files

Memory leak observed by Steve

  • Loading branch information...
1 parent d51049b commit 24da0a137120f4032858230836b39ed14da755fb Christopher Browne committed Mar 18, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/slon/monitor_thread.c
View
1 src/slon/monitor_thread.c
@@ -187,6 +187,7 @@ monitorThread_main(void *dummy)
"monitorThread: \"%s\" - %s",
dstring_data(&monquery), PQresultErrorMessage(res));
PQclear(res);
+ dstring_free(&monquery);
break;
}
PQclear(res);

0 comments on commit 24da0a1

Please sign in to comment.