1
0
Fork 0

Delete the commandline and psp opbject in destructor.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@409
This commit is contained in:
Sjoerd van der Berg 2002-10-25 10:48:08 +00:00
parent 9ed0094a0e
commit 7d6603d275

View file

@ -32,7 +32,10 @@ void PROGRAMS_MakeFile(char * name,PROGRAMS_Main * main);
class Program {
public:
Program();
virtual ~Program(){}
virtual ~Program(){
delete cmd;
delete psp;
}
std::string temp_line;
CommandLine * cmd;
DOS_PSP * psp;