--- src/modules/module-device-restore.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c index 3628611..de8b81b 100644 --- a/src/modules/module-device-restore.c +++ b/src/modules/module-device-restore.c @@ -1028,6 +1028,10 @@ static void read_sink_format_reply(struct userdata *u, pa_tagstruct *reply, pa_s pa_tagstruct_put_format_info(reply, f); } } + + if (e) + perportentry_free(e); + pa_xfree(name); } -- 1.7.10.4