From: Florian Forster Date: Tue, 2 Sep 2014 14:54:07 +0000 (+0200) Subject: src/utils_rrdcreate.c: Free "args". X-Git-Tag: collectd-5.3.2~44^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dfb341bca520dbe01e2f7b551548dea6aad6310c;p=collectd.git src/utils_rrdcreate.c: Free "args". Thanks to Yves Mettier for pointing this out! Fixes: #661 --- diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c index a34e0da0..5368059e 100644 --- a/src/utils_rrdcreate.c +++ b/src/utils_rrdcreate.c @@ -99,6 +99,7 @@ static void srrd_create_args_destroy (srrd_create_args_t *args) sfree (args->argv[i]); sfree (args->argv); } + sfree (args); } /* void srrd_create_args_destroy */ static srrd_create_args_t *srrd_create_args_create (const char *filename,