mirror of https://github.com/mpv-player/mpv
ao_pulse: plug a memory leak
This commit is contained in:
parent
9cba451949
commit
b1d47786d8
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue