[gtk/fix-memleaks] Plug a memory leak in an error path
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/fix-memleaks] Plug a memory leak in an error path
- Date: Sun, 28 Mar 2021 01:53:08 +0000 (UTC)
commit ffa50f4c24eeebf31381554651615287b61fc6c1
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 27 21:44:19 2021 -0400
Plug a memory leak in an error path
gtk/gtkcssprovider.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 3b1caa7125..43882cf385 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1052,6 +1052,8 @@ gtk_css_provider_load_internal (GtkCssProvider *self,
"Failed to import: %s",
load_error->message);
}
+
+ g_error_free (load_error);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]