[libdazzle] shortcuts: plug leak of inner text



commit 7a14731ded8adc041c0c503b7efc8a10cacaa7d6
Author: Christian Hergert <chergert redhat com>
Date:   Wed Dec 13 22:02:14 2017 -0800

    shortcuts: plug leak of inner text

 src/shortcuts/dzl-shortcut-theme-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-theme-load.c b/src/shortcuts/dzl-shortcut-theme-load.c
index 85ec827..85612db 100644
--- a/src/shortcuts/dzl-shortcut-theme-load.c
+++ b/src/shortcuts/dzl-shortcut-theme-load.c
@@ -239,7 +239,7 @@ load_state_commit_property (LoadState  *state,
                            state->stack->pspec->name,
                            &value);
 
-  g_string_free (state->text, FALSE);
+  g_string_free (state->text, TRUE);
   state->text = NULL;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]