mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
gdk: Plug a memleak
Free GdkIOPipe struct when freeing it Don't just free all its members. Fixes #5110
This commit is contained in:
parent
918dd66dca
commit
248e33e3c9
@ -75,6 +75,8 @@ gdk_io_pipe_unref (GdkIOPipe *pipe)
|
||||
|
||||
g_cond_clear (&pipe->cond);
|
||||
g_mutex_clear (&pipe->mutex);
|
||||
|
||||
g_slice_free (GdkIOPipe, pipe);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user