diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c index a16af0f544..72417481be 100644 --- a/core/hdd/src/wlan_hdd_ioctl.c +++ b/core/hdd/src/wlan_hdd_ioctl.c @@ -5058,9 +5058,6 @@ static int drv_cmd_get_ibss_peer_info_all(struct hdd_adapter *adapter, } hdd_debug("%s", &extra[numOfBytestoPrint]); } - - /* Free temporary buffer */ - qdf_mem_free(extra); } else { /* Command failed, log error */ hdd_err("GETIBSSPEERINFOALL command failed with status code %d",