From b37ddefb01607272698e10c1e84a62ccbb8a5036 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 17 Jun 2015 07:34:57 +0200 Subject: [PATCH] notification target: Pass void** to tn_destroy(). The previous call was bad, resulting in errors in free(). --- src/target_notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target_notification.c b/src/target_notification.c index b4654387..7908a29b 100644 --- a/src/target_notification.c +++ b/src/target_notification.c @@ -176,7 +176,7 @@ static int tn_create (const oconfig_item_t *ci, void **user_data) /* {{{ */ if (status != 0) { - tn_destroy ((void *) data); + tn_destroy ((void *) &data); return (status); } -- 2.30.2