aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/4a-hal-utilities/4a-hal-utilities-data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.c b/lib/4a-hal-utilities/4a-hal-utilities-data.c
index 26bbd23..215adb2 100644
--- a/lib/4a-hal-utilities/4a-hal-utilities-data.c
+++ b/lib/4a-hal-utilities/4a-hal-utilities-data.c
@@ -214,6 +214,9 @@ int8_t HalUtlRemoveSelectedHalFromList(struct HalData **halDataList, struct HalD
free(matchingHal->date);
if(matchingHal->internal) {
+ free(matchingHal->internalHalData->mixerApiName);
+ free(matchingHal->internalHalData->prefix);
+
HalUtlRemoveAllMixerData(&matchingHal->internalHalData->streamsData);
HalUtlRemoveAllMixerData(&matchingHal->internalHalData->playbacksData);
HalUtlRemoveAllMixerData(&matchingHal->internalHalData->capturesData);