MCPcopy Create free account
hub / github.com/NetHack/NetHack / genl_status_finish

Function genl_status_finish

src/windows.c:908–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908void
909genl_status_finish(void)
910{
911 /* tear down routine */
912 int i;
913
914 /* free alloc'd memory here */
915 for (i = 0; i < MAXBLSTATS; ++i) {
916 if (status_vals[i])
917 free((genericptr_t) status_vals[i]), status_vals[i] = (char *) 0;
918 }
919}
920
921void
922genl_status_enablefield(

Callers 3

new_status_windowFunction · 0.85
curses_status_finishFunction · 0.85
nethack_exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected