You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following change was introduced for the get_map and get_map_bytes functions: Vec::from_raw_parts(return_data, return_size, return_size);
was changed for std::slice::from_raw_parts
Vec::from_raw_parts uses the Global allocator to properly deallocate the return data on drop. On the other hand the slice is not handling the deallocation and therfore producing a memory leak.
andytesti, Pawan-Bishnoi, ramaraochavali, PiotrSikora and REASY