diff --git a/plugins/samplesource/hackrf/hackrfplugin.cpp b/plugins/samplesource/hackrf/hackrfplugin.cpp index b7af17a67..a45ce1245 100644 --- a/plugins/samplesource/hackrf/hackrfplugin.cpp +++ b/plugins/samplesource/hackrf/hackrfplugin.cpp @@ -109,6 +109,7 @@ PluginInterface::SampleSourceDevices HackRFPlugin::enumSampleSources() } } + hackrf_device_list_free(hackrf_devices); rc = (hackrf_error) hackrf_exit(); qDebug("HackRFPlugin::enumSampleSources: hackrf_exit: %s", hackrf_error_name(rc));