diff options
author | Monsta <[email protected]> | 2014-12-21 14:41:25 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2014-12-21 14:41:25 +0300 |
commit | 6eea6bc057d771ccdc87390da315e9ef75878745 (patch) | |
tree | 3009d7596735e64988ddc7b33046bcaa9fcdc93d | |
parent | e5943056a8dac82b5dd2ed091290ca444ac554c8 (diff) | |
download | pluma-6eea6bc057d771ccdc87390da315e9ef75878745.tar.bz2 pluma-6eea6bc057d771ccdc87390da315e9ef75878745.tar.xz |
fix one more memleak
-rw-r--r-- | pluma/pluma-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c index 780879b6..a040546f 100644 --- a/pluma/pluma-window.c +++ b/pluma/pluma-window.c @@ -2757,6 +2757,7 @@ sync_name (PlumaTab *tab, action_name = g_strdup_printf ("Tab_%d", n); action = gtk_action_group_get_action (window->priv->documents_list_action_group, action_name); + g_free (action_name); g_return_if_fail (action != NULL); tab_name = _pluma_tab_get_name (tab); @@ -2766,7 +2767,6 @@ sync_name (PlumaTab *tab, g_object_set (action, "label", escaped_name, NULL); g_object_set (action, "tooltip", tip, NULL); - g_free (action_name); g_free (tab_name); g_free (escaped_name); g_free (tip); |