28 lines
758 B
Diff
28 lines
758 B
Diff
From df500c68a4d0741d1d6cf8ec3f8039a0d1f4b174 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
|
|
Date: Tue, 1 Jun 2021 17:43:45 +0200
|
|
Subject: [PATCH] inotify: Fix a memory leak
|
|
|
|
Fixes: #2311
|
|
Conflict:NA
|
|
Reference:https://github.com/GNOME/glib/commit/df500c68a4d0741d1d6cf8ec3f8039a0d1f4b174
|
|
---
|
|
gio/inotify/inotify-path.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/gio/inotify/inotify-path.c b/gio/inotify/inotify-path.c
|
|
index f0528f4..e1129cd 100644
|
|
--- a/gio/inotify/inotify-path.c
|
|
+++ b/gio/inotify/inotify-path.c
|
|
@@ -208,6 +208,7 @@ ip_watched_file_free (ip_watched_file_t *file)
|
|
g_assert (file->subs == NULL);
|
|
g_free (file->filename);
|
|
g_free (file->path);
|
|
+ g_free (file);
|
|
}
|
|
|
|
static void
|
|
--
|
|
2.27.0
|
|
|