MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / del_memory

Function del_memory

CPP/Problems/maze_game.c:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void del_memory(head *h)
72{
73 memory *temp = h->start;
74 while (h->start != NULL)
75 {
76 h->start = h->start->next;
77 free(temp);
78 temp = h->start;
79 }
80 if (h->start == NULL)
81 h->end == NULL;
82}
83
84void print_maze(char maze[l][w])
85{

Callers 1

playFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected