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

Function free_saved_games

src/files.c:1542–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540#undef ALLOW_WAITSYNCH_PERFILE
1541
1542void
1543free_saved_games(char **saved)
1544{
1545 if (saved) {
1546 int i;
1547
1548 for (i = 0; saved[i]; ++i)
1549 free((genericptr_t) saved[i]);
1550 free((genericptr_t) saved);
1551 }
1552}
1553
1554#endif /* !SFCTOOL */
1555

Callers 4

qt_asknameMethod · 0.85
restore_menuFunction · 0.85
get_saved_gamesFunction · 0.85
qt_asknameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected