summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SERVICES/WMA/wma.c2
-rw-r--r--CORE/VOSS/src/vos_memory.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index d7ee0269cf87..d2f032a073a0 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -1084,7 +1084,7 @@ static void wma_update_vdev_stats(tp_wma_handle wma,
pGetRssiReq->pDevContext);
}
- vos_mem_free(pGetRssiReq);
+ adf_os_mem_free(pGetRssiReq);
wma->pGetRssiReq = NULL;
}
}
diff --git a/CORE/VOSS/src/vos_memory.c b/CORE/VOSS/src/vos_memory.c
index f1e09739262d..b0bf0c6fd62e 100644
--- a/CORE/VOSS/src/vos_memory.c
+++ b/CORE/VOSS/src/vos_memory.c
@@ -254,7 +254,7 @@ v_VOID_t vos_mem_free( v_VOID_t *ptr )
{
VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_FATAL,
"%s: Unallocated memory (double free?)", __func__);
- VOS_ASSERT(0);
+ VOS_BUG(0);
}
}
}