]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
com_sa: pedantic mem leak fix.
authorAndre <maan@p133.(none)>
Fri, 14 Apr 2006 13:31:48 +0000 (15:31 +0200)
committerAndre <maan@p133.(none)>
Fri, 14 Apr 2006 13:31:48 +0000 (15:31 +0200)
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

index f41afcdff61b0f14c518b919028e6ee9d879547d..82f197cdd9ce0362167cc017af09fea59be13ea8 100644 (file)
@@ -2210,6 +2210,7 @@ no_more_atts:
        }
        refresh_selector_info();
 out:
+       free(atts);
        return ret;
 }