diff --git a/src/g_level.cpp b/src/g_level.cpp index 8934ab3c2..187c7b1aa 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1867,6 +1867,7 @@ CCMD(listmaps) { Printf("%s: '%s' (%s)\n", info->mapname, info->LookupLevelName().GetChars(), Wads.GetWadName(Wads.GetLumpFile(map->lumpnum))); + delete map; } } }