[gtksourceview] view: plug leak of background color string
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] view: plug leak of background color string
- Date: Tue, 22 Jun 2021 18:12:46 +0000 (UTC)
commit 004fbb68e8a6fec58acd1b6708abc0da7d1b0571
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 22 11:12:32 2021 -0700
view: plug leak of background color string
gtksourceview/gtksourceview.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index bce70298..462831cb 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -4741,6 +4741,7 @@ update_right_margin_colors (GtkSourceView *view)
}
g_clear_pointer (&color_str, g_free);
+ g_clear_pointer (&text_background_str, g_free);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]