DevKitty-io / USB-Nugget

Run DuckyScript payloads on a USB Nugget!
https://usbnugget.com
MIT License
163 stars 19 forks source link

fix memory leak in NuggetInterface #88

Closed brandonpaiz closed 2 years ago

brandonpaiz commented 2 years ago

The destructor of a base class should be virtual to avoid memory leaks See https://stackoverflow.com/a/461224 for more info