[pulseaudio-discuss] [PATCH 09/13] modules: Fix resource leak in card-restore
Peter Meerwald
pmeerw at pmeerw.net
Mon Dec 16 09:20:11 PST 2013
From: Peter Meerwald <p.meerwald at bct-electronic.com>
https://scan7.coverity.com:8443/reports.htm#v10205/p10016/fileInstanceId=8728&defectInstanceId=3737&mergedDefectId=591274
Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
src/modules/module-card-restore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/module-card-restore.c b/src/modules/module-card-restore.c
index 3134067..252dcce 100644
--- a/src/modules/module-card-restore.c
+++ b/src/modules/module-card-restore.c
@@ -442,7 +442,7 @@ static pa_hook_result_t port_offset_change_callback(pa_core *c, pa_device_port *
pa_log_info("Storing latency offset for port %s on card %s.", port->name, card->name);
} else {
- entry_from_card(card);
+ entry = entry_from_card(card);
show_full_info(card);
}
--
1.7.9.5
More information about the pulseaudio-discuss
mailing list