MCPcopy Create free account
hub / github.com/acl-dev/acl / test_fatal_free

Function test_fatal_free

unit_test/stdlib/test_malloc.c:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20int test_fatal_free(AUT_LINE *test_line acl_unused, void *arg acl_unused)
21{
22 char *ptr = NULL;
23
24 acl_memory_debug_start();
25 acl_myfree(ptr);
26 acl_memory_debug_stop();
27
28 /*not reached */
29 return (0);
30}

Callers

nothing calls this directly

Calls 2

acl_memory_debug_startFunction · 0.85
acl_memory_debug_stopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…