libossia icon indicating copy to clipboard operation
libossia copied to clipboard

Memory leak when having called ossia::net::list_oscquery_devices, with 1.0.6 on windows

Open onar3d opened this issue 4 years ago • 0 comments

Hi!

On Windows (10), using the 1.0.6 version of libossia-native-win, if I run a call to list_oscquery_devices(), I get a reported memory leak when exiting the software.

Adding this one line causes the leak:

auto devices = ossia::net::list_oscquery_devices();

And as devices is allocated on the stack, and it contains structs with only stack-allocated members, really the only cause I can think of must be the call to list_oscquery_devices itself.

Best, Ilias B.

onar3d avatar Sep 19 '20 08:09 onar3d