mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
fix failing array asserts #355
This commit is contained in:
@@ -1307,7 +1307,9 @@ pub unsafe fn dc_get_next_media(
|
||||
}
|
||||
}
|
||||
|
||||
dc_array_unref(list);
|
||||
if !list.is_null() {
|
||||
dc_array_unref(list);
|
||||
}
|
||||
dc_msg_unref(msg);
|
||||
ret_msg_id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user