aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/4a-internals-hal/4a-internals-hal-cb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/4a-internals-hal/4a-internals-hal-cb.c b/src/4a-internals-hal/4a-internals-hal-cb.c
index d9123c9..3e6ddfe 100644
--- a/src/4a-internals-hal/4a-internals-hal-cb.c
+++ b/src/4a-internals-hal/4a-internals-hal-cb.c
@@ -829,6 +829,7 @@ int InternalHalHandleInfoGetResponse(afb_api_t apiHandle, json_object *currentRe
previouslyObtainedDevice->playbackDeviceNb != currentProbedDeviceData->playbackDeviceNb) {
AFB_API_WARNING(apiHandle, "Different audio devices was returned by info get call");
free(previouslyObtainedDevice);
+ *halDeviceDataToFill = NULL;
ret = 1;
}