From: Jim Evins Date: Mon, 15 Nov 2010 03:49:58 +0000 (-0500) Subject: Fixed stupid typo. X-Git-Tag: glabels-2_3_1~141^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fremotes%2Fupstream%2Fgtk3;p=glabels Fixed stupid typo. Must of been temporary insanity. I had replaced a g_unlink with a g_free a while back. Hanging my head in shame. --- diff --git a/libglabels/db.c b/libglabels/db.c index 4f76910a..9880eb02 100644 --- a/libglabels/db.c +++ b/libglabels/db.c @@ -1575,7 +1575,7 @@ lgl_db_delete_template_by_name (const gchar *name) filename = g_strdup_printf ("%s_%s.template", template->brand, template->part); abs_filename = g_build_filename (dir, filename, NULL); - g_free (abs_filename); + g_unlink (abs_filename); g_free (dir); g_free (filename);