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

Commit bf1ffcf5 authored by E V Ravi's avatar E V Ravi Committed by Gerrit - the friendly Code Review server
Browse files

CTS : hal : Fix the NULL deference pointer issue



Fixed NULL deference pointer issue

Signed-off-by: default avatarE V Ravi <evenka@codeaurora.org>

Change-Id: I64feffe6759316615a8e3fab7fe81a738e5dea97
parent dceea23e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -884,7 +884,10 @@ void auto_hal_deinit(void)
        return;
    }

    if(auto_hal != NULL) {
       free(auto_hal);
       auto_hal = NULL;
    }

    return;
}