diff --git a/umac/scan/dispatcher/src/wlan_scan_utils_api.c b/umac/scan/dispatcher/src/wlan_scan_utils_api.c index 9a4b4c6d7222..cda1208a2fd8 100644 --- a/umac/scan/dispatcher/src/wlan_scan_utils_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_utils_api.c @@ -957,6 +957,7 @@ util_scan_unpack_beacon_frame(uint8_t *frame, scan_node = qdf_mem_malloc(sizeof(*scan_node)); if (!scan_node) { + qdf_mem_free(scan_entry->raw_frame.ptr); qdf_mem_free(scan_entry); qdf_mem_free(scan_list); return NULL;