fix(ffi): handle result from location deletion

This commit is contained in:
dignifiedquire
2019-08-26 21:50:33 +02:00
parent 3f8abd2218
commit 25b0a26ff9

View File

@@ -1096,7 +1096,7 @@ pub unsafe extern "C" fn dc_delete_all_locations(context: *mut dc_context_t) {
assert!(!context.is_null());
let context = &*context;
location::delete_all(context);
location::delete_all(context).log_err(context, "Failed to delete locations");
}
// dc_array_t