From: Peter Meerwald <p.meerwald@xxxxxxxxxxxxxxxxxx> https://scan7.coverity.com:8443/reports.htm#v10205/p10016/fileInstanceId=8724&defectInstanceId=3728&mergedDefectId=591265 Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net> --- src/modules/module-device-restore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c index 780b3e1..0490677 100644 --- a/src/modules/module-device-restore.c +++ b/src/modules/module-device-restore.c @@ -1152,6 +1152,7 @@ static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connectio pa_format_info *f = pa_format_info_new(); if (pa_tagstruct_get_format_info(t, f) < 0) { pa_format_info_free(f); + perportentry_free(e); pa_xfree(name); goto fail; } -- 1.7.9.5