plugin: do not free method name separately
authorJo-Philipp Wich <jo@mein.io>
Tue, 29 Oct 2019 08:04:55 +0000 (09:04 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 May 2020 14:18:26 +0000 (16:18 +0200)
commit16de3fa9fb9d83dbeac271b1ac38b74e698afa8d
treeb6def58b123eab55d5177b3ac7dfaf33ed402d35
parent29c9c11dfa4be5a34ee5f16913abf99e76f228fa
plugin: do not free method name separately

A previous commit changed the allocation method for the call context to
include the method name string memory directly, so we must not treat the
method member separately anymore.

Fixes: 37aa919 ("plugin: fix leaking invoked method name for exec plugins")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ca3e2d5e70f188cc73a9bd1dadd3dcf2603bdba7)
plugin.c