datetime: Fix leak in test

https://bugzilla.gnome.org/show_bug.cgi?id=711751
This commit is contained in:
Stef Walter 2013-11-09 20:29:04 +01:00
parent 5ae5d438a6
commit 83a14d13ec

View File

@ -38,6 +38,7 @@ main (int argc, char *argv[])
str = g_date_time_format (dt, fmt); str = g_date_time_format (dt, fmt);
g_print ("%s\n", str); g_print ("%s\n", str);
g_free (str); g_free (str);
g_date_time_unref (dt);
return 0; return 0;
} }