kenz-gelsoft / wxRust2

re-exploration Rust binding to wx
MIT License
78 stars 10 forks source link

(Maybe) all allocated wxStrings are leaked #85

Closed kenz-gelsoft closed 2 years ago

kenz-gelsoft commented 2 years ago

Other value types use struct with Drop, but for string directly returns new-ed pointers but wont be deleted...

We should have some type of tests for memory management like this.

kenz-gelsoft commented 2 years ago

valgrind with some basic unit test should help.

kenz-gelsoft commented 2 years ago

testing issue is #86