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