Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f273069a authored by Xin Li's avatar Xin Li
Browse files

DO NOT MERGE - Merge January 2020 Security Release into master

Bug: 147314974
Change-Id: I8818e9f0696eb452f62673855542b6f3e753596b
parents 9f6d4987 e0e43bbd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6284,9 +6284,9 @@ static int adev_verify_devices(struct audio_device *adev)
static int adev_close(hw_device_t *device)
{
    size_t i;
    struct audio_device *adev = (struct audio_device *)device;
    struct audio_device *adev_temp = (struct audio_device *)device;

    if (!adev)
    if (!adev_temp)
        return 0;

    pthread_mutex_lock(&adev_init_lock);