DevKitty-io / USB-Nugget

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

fix memory leak in NuggetInterface #88

Closed brandonpaiz closed 1 year ago

brandonpaiz commented 1 year ago

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