From 7ffef14130b8f8e16031338aca4fcfb174d46075 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Mon, 4 Jan 2010 22:48:48 -0200 Subject: Fix all compilation warnings (now being treated as errors). --- hardinfo2/egg-markdown.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hardinfo2/egg-markdown.c') diff --git a/hardinfo2/egg-markdown.c b/hardinfo2/egg-markdown.c index 7ef8bbfe..4056d4f9 100644 --- a/hardinfo2/egg-markdown.c +++ b/hardinfo2/egg-markdown.c @@ -347,7 +347,6 @@ egg_markdown_to_text_line_formatter_image (EggMarkdown *self, const gchar *line) gchar *end = NULL; gchar *copy = NULL; gchar *data = NULL; - gchar *temp; /* find sections */ copy = g_strdup (line); @@ -414,7 +413,6 @@ egg_markdown_to_text_line_formatter_link (EggMarkdown *self, const gchar *line) gchar *end = NULL; gchar *copy = NULL; gchar *data = NULL; - gchar *temp; /* find sections */ copy = g_strdup (line); @@ -455,7 +453,7 @@ egg_markdown_to_text_line_formatter_link (EggMarkdown *self, const gchar *line) /* not found, keep return as-is */ data = g_strdup (line); } -out: + g_free (copy); return data; } -- cgit v1.2.3