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:
parent
ee26d83e98
commit
d442d62dea
1 changed files with 0 additions and 1 deletions
1
plugin.c
1
plugin.c
|
@ -123,7 +123,6 @@ rpc_plugin_call_finish_cb(struct blob_buf *blob, int stat, void *priv)
|
||||||
json_tokener_free(c->tok);
|
json_tokener_free(c->tok);
|
||||||
|
|
||||||
free(c->input);
|
free(c->input);
|
||||||
free(c->method);
|
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue