diff options
Diffstat (limited to 'libyelp')
-rw-r--r-- | libyelp/yelp-transform.c | 1 | ||||
-rw-r--r-- | libyelp/yelp-uri.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libyelp/yelp-transform.c b/libyelp/yelp-transform.c index 0a1c8058..54f56116 100644 --- a/libyelp/yelp-transform.c +++ b/libyelp/yelp-transform.c @@ -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); } diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c index f20b167e..123983cb 100644 --- a/libyelp/yelp-uri.c +++ b/libyelp/yelp-uri.c @@ -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); } } |