(no commit message)
[prss.git] / src / ttrss.c
index b3b555e..ad78c0b 100644 (file)
@@ -67,7 +67,7 @@ static void file_set_content(const char *path, const char *content)
        }
 }
 
-static char *content_get_path(const struct headline *h)
+static gchar *content_get_path(const struct headline *h)
 {
        const char *cache_dir;
 
@@ -91,7 +91,7 @@ static int is_content_cached(const struct headline *h)
        else
                result = 1;
 
-       free(path);
+       g_free(path);
 
        return result;
 }
@@ -111,7 +111,7 @@ char *ttrss_get_headline_content(struct headline *h)
                file_set_content(path, content);
        }
 
-       free(path);
+       g_free(path);
 
        return content;
 }