diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2015-01-24 19:23:35 -0500 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-26 16:10:24 +0900 |
commit | 86229e871469fa9f7877e0748ed03fdb737ca509 (patch) | |
tree | c1edfffd3422a0069434c06b348e604d3db3a06b | |
parent | 295fdeb0866060b1ef2e64fecd7240d94f0d652f (diff) | |
download | mpv-86229e871469fa9f7877e0748ed03fdb737ca509.tar.bz2 mpv-86229e871469fa9f7877e0748ed03fdb737ca509.tar.xz |
ao_pulse: plug a memory leak
-rw-r--r-- | audio/out/ao_pulse.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |