mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't try to unref a NULL GDateTime*.
This commit is contained in:
parent
ff76db28f5
commit
23f25d74d9
@ -1503,8 +1503,8 @@ gnc_iso8601_to_timespec_gmt(const char *str)
|
||||
{
|
||||
time.tv_sec = g_date_time_to_unix (gdt);
|
||||
time.tv_nsec = g_date_time_get_microsecond (gdt) * 1000;
|
||||
g_date_time_unref (gdt);
|
||||
}
|
||||
g_date_time_unref (gdt);
|
||||
return time;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user