diff system/system_config.cc @ 9:b6d6c0ffb423

Fixed some memory leaks
author thib
date Tue, 05 Aug 2008 13:24:20 +0000
parents 223b71206888
children 92765a5661f7
line wrap: on
line diff
--- a/system/system_config.cc
+++ b/system/system_config.cc
@@ -788,6 +788,10 @@ AyuSysConfig::AyuSysConfig(void) {
 
 	SetOrigParam("#SCREENSIZE_MOD", 1, 0); /* 0 = 640x480; 1 = 800x600 */
 }
+AyuSysConfig::~AyuSysConfig(void) {
+	delete str_config;
+	delete int_config;
+}
 
 static int SplitVar(const char* str, int* ret_var, int ret_size) {
 	/* , あるいは ),:( をセパレータとして、-?[0-9]+ の