MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / ArrayFree

Function ArrayFree

source/tests/utils/doublylinkedlistTests.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void ArrayFree(DoublyLinkedListNode **node) {
43 if(*node != NULL) {
44 memset( *node, 0, sizeof(DoublyLinkedListNode) );
45 *node = NULL;
46 }
47}
48
49TEST(DoublyLinkedList, CallocAllocatorCreateTest) {
50 int test_data = 8;

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected