From 3049c5f8212fa4b0a6c502fd0a8b11b96aea63f2 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 14 Apr 2006 15:31:48 +0200 Subject: [PATCH] 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.. --- mysql_selector.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2