short range: Fix uShortRangeDeinit() crash
If short range handles hadn't been closed before calling uShortRangeDeinit()
this would result in a double free that would crash on some platforms.
@@ -660,7 +660,6 @@ void uShortRangeDeinit()
while (gpUShortRangePrivateInstanceList != NULL) {
pInstance = gpUShortRangePrivateInstanceList;
removeShortRangeInstance(pInstance);
- free(pInstance);
}
// Unlock the mutex so that we can delete it
