[gnumeric] css: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] css: plug leak.
- Date: Mon, 27 Dec 2021 00:14:28 +0000 (UTC)
commit 416f2702c6d999d0b14a28bc105dacd30e6a0fe1
Author: Morten Welinder <terra gnome org>
Date: Sun Dec 26 19:14:12 2021 -0500
css: plug leak.
src/wbc-gtk.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 6f83c6481..01acb1dd0 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -2419,6 +2419,8 @@ cb_screen_changed (GtkWidget *widget)
(gpointer)"1");
csstext = gnm_cpp (g_bytes_get_data (cssbytes, NULL), vars);
+ g_hash_table_destroy (vars);
+
data = g_new (struct css_provider_data, 1);
data->css = gtk_css_provider_new ();
data->screens = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]