mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
ao_coreaudio: fix another minor memory leak
How stupid, even the cleanup gotos were already there.
This commit is contained in:
@@ -289,5 +289,6 @@ void ca_get_active_chmap(struct ao *ao, AudioDeviceID device, int channel_count,
|
|||||||
}
|
}
|
||||||
|
|
||||||
out_map->num = 0;
|
out_map->num = 0;
|
||||||
done: ;
|
done:
|
||||||
|
talloc_free(ta_ctx);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user