From: Jo-Philipp Wich Date: Tue, 29 Oct 2019 11:01:36 +0000 (+0100) Subject: plugin: fix double free in finish callback X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d442d62dea8d7c5f9bb58f1be257230a469f343f;p=oweals%2Frpcd.git plugin: fix double free in finish callback Fixes: 37aa919 ("plugin: fix leaking invoked method name for exec plugins") Signed-off-by: Jo-Philipp Wich --- 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; }