2010-01-19 11:40:12 +01:00
|
|
|
--- ksym.c
|
|
|
|
+++ ksym.c 2001-05-23 18:54:18.000000000 +0000
|
2010-01-06 18:06:41 +01:00
|
|
|
@@ -345,6 +345,7 @@ static char * FindSymbolFile()
|
2006-12-19 00:17:53 +01:00
|
|
|
if ( (sym_file = fopen(symfile, "r")) != (FILE *) 0 ) {
|
|
|
|
if (CheckMapVersion(symfile) == 1)
|
|
|
|
file = symfile;
|
|
|
|
+ fclose(sym_file);
|
|
|
|
}
|
|
|
|
if (sym_file == (FILE *) 0 || file == (char *) 0) {
|
|
|
|
sprintf (symfile, "%s", *mf);
|
2010-01-06 18:06:41 +01:00
|
|
|
@@ -353,6 +354,7 @@ static char * FindSymbolFile()
|
2006-12-19 00:17:53 +01:00
|
|
|
if ( (sym_file = fopen(symfile, "r")) != (FILE *) 0 ) {
|
|
|
|
if (CheckMapVersion(symfile) == 1)
|
|
|
|
file = symfile;
|
|
|
|
+ fclose(sym_file);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|