x11: Fix a memory leak

We ref the content formats here, so we better unref it
when done.
This commit is contained in:
Matthias Clasen 2021-02-07 01:31:40 -05:00
parent a37044f36c
commit f26f15fced

View File

@ -1095,6 +1095,8 @@ xdnd_send_enter (GdkX11Drag *drag_x11)
}
xdnd_send_xevent (drag_x11, &xev);
gdk_content_formats_unref (formats);
}
static void