mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 22:06:29 +03:00
Merge pull request #244 from link2xt/dc_location_vec
Replace some dc_array_t with Vec<dc_location>
This commit is contained in:
@@ -130,12 +130,12 @@ pub unsafe fn dc_mimeparser_empty(mimeparser: &mut dc_mimeparser_t) {
|
||||
dc_e2ee_thanks(&mut (*mimeparser).e2ee_helper);
|
||||
|
||||
if let Some(location_kml) = (*mimeparser).location_kml.as_mut() {
|
||||
dc_kml_unref(location_kml as *mut dc_kml_t);
|
||||
dc_kml_unref(location_kml);
|
||||
}
|
||||
(*mimeparser).location_kml = None;
|
||||
|
||||
if let Some(message_kml) = (*mimeparser).message_kml.as_mut() {
|
||||
dc_kml_unref(message_kml as *mut dc_kml_t);
|
||||
dc_kml_unref(message_kml);
|
||||
}
|
||||
(*mimeparser).message_kml = None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user