From d442d62dea8d7c5f9bb58f1be257230a469f343f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 29 Oct 2019 12:01:36 +0100 Subject: [PATCH] plugin: fix double free in finish callback Fixes: 37aa919 ("plugin: fix leaking invoked method name for exec plugins") Signed-off-by: Jo-Philipp Wich --- plugin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin.c b/plugin.c index 4f84994..ecc958f 100644 --- a/plugin.c +++ b/plugin.c @@ -123,7 +123,6 @@ rpc_plugin_call_finish_cb(struct blob_buf *blob, int stat, void *priv) json_tokener_free(c->tok); free(c->input); - free(c->method); return rv; } -- 2.25.1