gdk: Plug a memleak

Free GdkIOPipe struct when freeing it
Don't just free all its members.

Fixes #5110
This commit is contained in:
Benjamin Otte 2022-08-19 02:38:11 +02:00
parent 918dd66dca
commit 248e33e3c9

View File

@ -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