From 94e5829f3f2a6ea5eef5455cf3f39a28f7f8cdaa Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 17 Jun 2015 07:26:39 +0200 Subject: [PATCH] perl plugin: Fix invalid free(). notification_meta_t.name is a char[], which we must not free. --- src/perl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/perl.c b/src/perl.c index 78e508ae..5aa96c35 100644 --- a/src/perl.c +++ b/src/perl.c @@ -510,7 +510,6 @@ static int av2notification_meta (pTHX_ AV *array, notification_meta_t **meta) if (NULL == (tmp = hv_fetch (hash, "value", 5, 0))) { log_warn ("av2notification_meta: Skipping invalid " "meta information."); - free ((*m)->name); free (*m); continue; } -- 2.11.0