From 86229e871469fa9f7877e0748ed03fdb737ca509 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 24 Jan 2015 19:23:35 -0500 Subject: ao_pulse: plug a memory leak --- audio/out/ao_pulse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c index d96b9fb98d..d6e08de53d 100644 --- a/audio/out/ao_pulse.c +++ b/audio/out/ao_pulse.c @@ -413,6 +413,9 @@ static int init(struct ao *ao) &format, 1, proplist))) goto unlock_and_fail; + pa_format_info_free(format); + format = NULL; + pa_proplist_free(proplist); proplist = NULL; -- cgit v1.2.3