[libadwaita] tab-box: Fix a memory leak
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] tab-box: Fix a memory leak
- Date: Mon, 22 Nov 2021 13:33:35 +0000 (UTC)
commit 5378f8979ed9267bec173e41863544c33ab65ee2
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Nov 19 17:58:31 2021 +0500
tab-box: Fix a memory leak
src/adw-tab-box.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 0e13663f..f97d7b46 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -2332,9 +2332,9 @@ static void
begin_drag (AdwTabBox *self,
GdkDevice *device)
{
+ g_autoptr (GdkContentProvider) content = NULL;
GtkNative *native;
GdkSurface *surface;
- GdkContentProvider *content;
GdkDrag *drag;
TabInfo *detached_info;
AdwTab *detached_tab;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]