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

Commit fcd395b7 authored by Jianmin Zhu's avatar Jianmin Zhu Committed by snandini
Browse files

qcacmn: Use after free in wlan_mgmt_txrx_psoc_obj_destroy_notification

Avoid use after free in wlan_mgmt_txrx_psoc_obj_destroy_notification.

Change-Id: Ia686792fe1014b9d7ee7177622d68443ecf2620e
CRs-Fixed: 2751958
parent e020de05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ static QDF_STATUS wlan_mgmt_txrx_psoc_obj_destroy_notification(
	qdf_spinlock_destroy(&mgmt_txrx_psoc_ctx->mgmt_txrx_psoc_ctx_lock);
	qdf_mem_free(mgmt_txrx_psoc_ctx);

	mgmt_txrx_debug("mgmt txrx deletion successful, psoc: %pK", psoc);
	mgmt_txrx_debug("mgmt txrx deletion successful");

	return QDF_STATUS_SUCCESS;
}