Fix utils_parse_and_format_build_date()

This commit is contained in:
Colomban Wendling 2013-03-17 19:36:17 +01:00
parent 11acb59980
commit 3291c30de5

View File

@ -2126,8 +2126,11 @@ gchar *utils_parse_and_format_build_date(const gchar *input)
GDate *date = utils_parse_date(input);
if (date != NULL)
{
g_date_strftime(date_buf, sizeof(date_buf), GEANY_TEMPLATES_FORMAT_DATE, date);
g_date_free(date);
return g_strdup(date_buf);
}
return g_strdup(input);
}