plugin: fix double free in finish callback

Fixes: 37aa919 ("plugin: fix leaking invoked method name for exec plugins")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-10-29 12:01:36 +01:00
parent ee26d83e98
commit d442d62dea

View file

@ -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;
}