forked from AuroraMiddleware/gtk
Inspector: Plug a few leaks
This commit is contained in:
parent
43747a6b30
commit
d6f989f59c
@ -637,10 +637,10 @@ gtk_inspector_css_node_tree_set_node (GtkInspectorCssNodeTree *cnt,
|
||||
g_string_append (s, " ");
|
||||
g_string_append (s, strv[i]);
|
||||
}
|
||||
g_strfreev (strv);
|
||||
}
|
||||
|
||||
gtk_label_set_label (GTK_LABEL (cnt->priv->css_node_info), s->str);
|
||||
g_strfreev (strv);
|
||||
g_string_free (s, TRUE);
|
||||
}
|
||||
|
||||
|
@ -218,6 +218,8 @@ fill_gtk (const gchar *path,
|
||||
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
g_dir_close (dir);
|
||||
}
|
||||
|
||||
static gchar*
|
||||
@ -324,6 +326,8 @@ fill_icons (const gchar *path,
|
||||
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
g_dir_close (dir);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -384,6 +388,8 @@ fill_cursors (const gchar *path,
|
||||
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
g_dir_close (dir);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user