Commit 5956af92 authored by Umang Jain's avatar Umang Jain Committed by David King

trivial: Plug memory leaks

parent 08e8a29c
......@@ -206,6 +206,7 @@ yelp_transform_dispose (GObject *object)
xmlFreeDoc (priv->output);
priv->output = NULL;
}
g_clear_pointer (&priv->stylesheet_file, g_free);
G_OBJECT_CLASS (yelp_transform_parent_class)->dispose (object);
}
......
......@@ -720,6 +720,7 @@ resolve_data_dirs (YelpUri *ret,
else {
priv->gfile = g_file_new_for_path (filename);
priv->search_path = searchpath;
g_free (filename);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment