Inspector: Plug a few leaks

This commit is contained in:
Timm Bäder 2016-01-24 08:01:36 +01:00
parent 43747a6b30
commit d6f989f59c
2 changed files with 7 additions and 1 deletions

View File

@ -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);
}

View File

@ -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