diff --git a/wmi_unified.c b/wmi_unified.c index 96dbe5ba49..c3473e64e3 100644 --- a/wmi_unified.c +++ b/wmi_unified.c @@ -2201,6 +2201,7 @@ void wmi_unified_detach(struct wmi_unified *wmi_handle) #endif qdf_spin_unlock_bh(&wmi_handle->eventq_lock); + qdf_spinlock_destroy(&wmi_handle->eventq_lock); qdf_spinlock_destroy(&wmi_handle->ctx_lock); if (wmi_handle != NULL) { OS_FREE(wmi_handle);