[Scummvm-cvs-logs] CVS: scummvm/saga actionmap.cpp,1.13,1.14

Eugene Sandulenko sev at users.sourceforge.net
Sun Aug 1 00:42:01 CEST 2004


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5689

Modified Files:
	actionmap.cpp 
Log Message:
oops


Index: actionmap.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/actionmap.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- actionmap.cpp	1 Aug 2004 07:37:42 -0000	1.13
+++ actionmap.cpp	1 Aug 2004 07:41:15 -0000	1.14
@@ -123,8 +123,9 @@
 	for (i = 0; i < _n_exits; i++) {
 		exmap_entry = &_exits_tbl[i];
 
-		if (exmap_entry->pt_tbl)
-			free(exmap_entry->pt_tbl);
+		if (_exits_tbl[i])
+			if (exmap_entry->pt_tbl)
+				free(exmap_entry->pt_tbl);
 	}
 
 	if (_exits_tbl)





More information about the Scummvm-git-logs mailing list