diff --git a/src/utils.c b/src/utils.c index 1fd99a6..8c81529 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1290,7 +1290,7 @@ _print_xml_header (metarecord meta) "\n"); if (meta.total_entry == 0) - ever_existed = ""; + ever_existed = g_strdup(""); else ever_existed = g_strdup_printf ( " ever_existed=\"%" G_GUINT32_FORMAT "\"", meta.total_entry);