1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 22:35:12 +03:00

Memory leak in the simu (thanks Valgrind)

This commit is contained in:
Bertrand Songis 2016-02-29 19:20:45 +01:00
parent 19f392131c
commit 52a52fdb8a

View file

@ -815,7 +815,6 @@ ZoneOption * createOptionsArray(int reference)
break; break;
} }
} }
TRACE("option %s %d %d", option->name, option->type, option->deflt.signedValue);
option++; option++;
} }
@ -1086,6 +1085,8 @@ void luaLoadFiles(const char * directory, void (*callback)())
else { else {
TRACE("f_opendir(%s) failed, code=%d", path, res); TRACE("f_opendir(%s) failed, code=%d", path, res);
} }
f_closedir(&dir);
} }
#endif #endif