diff gsm-fw/gpf/osx/osx.c @ 501:da8248e23aca

osx.c: int_osx_free_mem() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 01 Jul 2014 18:32:41 +0000
parents 5293cac7f423
children cff42ff57c60
line wrap: on
line diff
--- a/gsm-fw/gpf/osx/osx.c	Tue Jul 01 18:24:00 2014 +0000
+++ b/gsm-fw/gpf/osx/osx.c	Tue Jul 01 18:32:41 2014 +0000
@@ -120,3 +120,13 @@
 {
 	vsi_c_free(_caller, (T_VOID_STRUCT **) &prim_ptr FILE_LINE_MACRO);
 }
+
+void
+int_osx_free_mem(int caller, void *mem_ptr)
+{
+	int status;
+
+	TRACE_ASSERT(mem_ptr != 0);
+	status = D_FREE(mem_ptr);
+	TRACE_ASSERT(status == VSI_OK);
+}