lib: use same allocator when copying MuMsgPartSigStatusReport
Fixes a sigabrt when freeing later.
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user