aboutsummaryrefslogtreecommitdiff
path: root/gfsm/gfsm/src/libgfsm/tests/sltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfsm/gfsm/src/libgfsm/tests/sltest.c')
-rw-r--r--gfsm/gfsm/src/libgfsm/tests/sltest.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gfsm/gfsm/src/libgfsm/tests/sltest.c b/gfsm/gfsm/src/libgfsm/tests/sltest.c
deleted file mode 100644
index 8567e6a..0000000
--- a/gfsm/gfsm/src/libgfsm/tests/sltest.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <glib.h>
-#include <stdio.h>
-
-int main (void) {
- GSList *sl=NULL;
- GAllocator *myalloc=NULL;
-
- g_mem_set_vtable(glib_mem_profiler_table);
-
- //-- allocator hack
- myalloc = g_allocator_new("myAllocator", 128);
- g_slist_push_allocator(myalloc);
-
- sl = g_slist_prepend(NULL,(gpointer)2);
- g_slist_free(sl);
-
- //-- allocator hack
- g_slist_pop_allocator();
- g_allocator_free(myalloc);
-
- g_blow_chunks();
- g_mem_profile();
-
- return 0;
-}