mirror of https://github.com/djcb/mu.git
lib: use same allocator when copying MuMsgPartSigStatusReport
Fixes a sigabrt when freeing later.
This commit is contained in:
parent
ac164b7e26
commit
934adae70a
|
@ -494,7 +494,7 @@ copy_status_report_maybe (GObject *obj)
|
||||||
if (!report)
|
if (!report)
|
||||||
return NULL; /* nothing to copy */
|
return NULL; /* nothing to copy */
|
||||||
|
|
||||||
copy = g_new0(MuMsgPartSigStatusReport, 1);
|
copy = g_slice_new0(MuMsgPartSigStatusReport);
|
||||||
copy->verdict = report->verdict;
|
copy->verdict = report->verdict;
|
||||||
|
|
||||||
if (report->report)
|
if (report->report)
|
||||||
|
|
Loading…
Reference in New Issue