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, 29 Oct 2019 08:23:30 +0000 (09:23 +0100)
commitca3e2d5e70f188cc73a9bd1dadd3dcf2603bdba7
treeb66b151d94daa6806a56d38d79393d2419b5af3c
parent02c6e1d08c9abfebae050ebeab5766935e849dc2
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>
plugin.c