diff --git a/src/kits/device/USBRoster.cpp b/src/kits/device/USBRoster.cpp index e176220607..034b4d3315 100644 --- a/src/kits/device/USBRoster.cpp +++ b/src/kits/device/USBRoster.cpp @@ -117,8 +117,10 @@ WatchedEntry::~WatchedEntry() } } - if (fDevice) + if (fDevice) { fRoster->DeviceRemoved(fDevice); + delete fDevice; + } }