issues
search
kenz-gelsoft
/
wxRust2
re-exploration Rust binding to wx
MIT License
78
stars
10
forks
source link
Fix wxString leaks and lifetime problems
#89
Closed
kenz-gelsoft
closed
2 years ago
kenz-gelsoft
commented
2 years ago
FIxes
https://github.com/kenz-gelsoft/wxRust2/issues/85
fix leak by deleting temporary wxString pointer in its Drop trait.
fix misuse of String::from_raw_parts() which drains buffers not shared with anyone else:
by creating &str view and copy it into String
FIxes https://github.com/kenz-gelsoft/wxRust2/issues/85