mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
datetime: Fix leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=711751
This commit is contained in:
parent
5ae5d438a6
commit
83a14d13ec
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user