mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
examples: fix some leaks
This commit is contained in:
parent
27f811d726
commit
8f7a19f2e3
3 changed files with 3 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ static int impl_node_process_input(void *data)
|
|||
SDL_RenderPresent(d->renderer);
|
||||
|
||||
if (map)
|
||||
munmap(map, buf->datas[0].maxsize);
|
||||
munmap(map, buf->datas[0].maxsize + buf->datas[0].mapoffset);
|
||||
|
||||
handle_events(d);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue