[glib: 1/2] glib-compile-resources: Fix a minor leak
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] glib-compile-resources: Fix a minor leak
- Date: Fri, 22 Feb 2019 15:05:22 +0000 (UTC)
commit 7321f240f914fa07f58c8789e219045d7282beae
Author: Philip Withnall <withnall endlessm com>
Date: Fri Feb 22 14:47:46 2019 +0000
glib-compile-resources: Fix a minor leak
Spotted by oss-fuzz using asan.
oss-fuzz#13271
Signed-off-by: Philip Withnall <withnall endlessm com>
gio/glib-compile-resources.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gio/glib-compile-resources.c b/gio/glib-compile-resources.c
index f04ea488b..399c567d2 100644
--- a/gio/glib-compile-resources.c
+++ b/gio/glib-compile-resources.c
@@ -999,6 +999,7 @@ main (int argc, char **argv)
}
+ g_free (base);
c_name = g_string_free (s, FALSE);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]