diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 22:48:48 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-04 22:48:48 -0200 |
commit | 7ffef14130b8f8e16031338aca4fcfb174d46075 (patch) | |
tree | 9aba657deb87b4bf31d8d2809a69eddcb1ac99c9 /hardinfo2/egg-markdown.c | |
parent | 148870bd0d9197dc4cfc08acf6be0c756d0f06bc (diff) |
Fix all compilation warnings (now being treated as errors).
Diffstat (limited to 'hardinfo2/egg-markdown.c')
-rw-r--r-- | hardinfo2/egg-markdown.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |