lib: use same allocator when copying MuMsgPartSigStatusReport

Fixes a sigabrt when freeing later.
This commit is contained in:
Dirk-Jan C. Binnema 2020-02-23 15:20:01 +02:00
parent ac164b7e26
commit 934adae70a
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ copy_status_report_maybe (GObject *obj)
if (!report)
return NULL; /* nothing to copy */
copy = g_new0(MuMsgPartSigStatusReport, 1);
copy = g_slice_new0(MuMsgPartSigStatusReport);
copy->verdict = report->verdict;
if (report->report)