[Scummvm-cvs-logs] CVS: scummvm/scumm instrument.h,2.9,2.10

Max Horn fingolfin at users.sourceforge.net
Fri Jul 4 06:19:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv21407/scumm

Modified Files:
	instrument.h 
Log Message:
fixed two leaks

Index: instrument.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/instrument.h,v
retrieving revision 2.9
retrieving revision 2.10
diff -u -d -r2.9 -r2.10
--- instrument.h	17 May 2003 03:06:16 -0000	2.9
+++ instrument.h	4 Jul 2003 13:16:48 -0000	2.10
@@ -52,6 +52,7 @@
 	};
 
 	Instrument() : _type (0), _instrument (0) { }
+	~Instrument() { delete _instrument; }
 	static void nativeMT32 (bool native);
 
 	void clear();





More information about the Scummvm-git-logs mailing list