From: Andre Date: Fri, 14 Apr 2006 13:31:48 +0000 (+0200) Subject: com_sa: pedantic mem leak fix. X-Git-Tag: v0.2.12~98 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3049c5f8212fa4b0a6c502fd0a8b11b96aea63f2 com_sa: pedantic mem leak fix. In fact, this memory leak doesn't matter much because it happens in the child which calls exit shortly afterwards. But it's considered good programming practice to free all memory, so.. --- diff --git a/mysql_selector.c b/mysql_selector.c index f41afcdf..82f197cd 100644 --- a/mysql_selector.c +++ b/mysql_selector.c @@ -2210,6 +2210,7 @@ no_more_atts: } refresh_selector_info(); out: + free(atts); return ret; }