From: Asaf Kahlon Date: Wed, 30 Oct 2019 18:13:58 +0000 (+0200) Subject: buddyinfo: remove redundant sfree X-Git-Tag: collectd-5.11.0~42^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3303%2Fhead;p=thirdparty%2Fcollectd.git buddyinfo: remove redundant sfree Signed-off-by: Asaf Kahlon --- diff --git a/src/buddyinfo.c b/src/buddyinfo.c index 280a5347c..26e593fbf 100644 --- a/src/buddyinfo.c +++ b/src/buddyinfo.c @@ -46,7 +46,6 @@ static int buddyinfo_config(const char *key, const char *value) { ignorelist = ignorelist_create(1); if (ignorelist == NULL) { ERROR("buddyinfo plugin: ignorelist_create failed"); - sfree(ignorelist); return -ENOMEM; } }