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:
parent
19f392131c
commit
52a52fdb8a
1 changed files with 2 additions and 1 deletions
|
@ -815,7 +815,6 @@ ZoneOption * createOptionsArray(int reference)
|
|||
break;
|
||||
}
|
||||
}
|
||||
TRACE("option %s %d %d", option->name, option->type, option->deflt.signedValue);
|
||||
option++;
|
||||
}
|
||||
|
||||
|
@ -1086,6 +1085,8 @@ void luaLoadFiles(const char * directory, void (*callback)())
|
|||
else {
|
||||
TRACE("f_opendir(%s) failed, code=%d", path, res);
|
||||
}
|
||||
|
||||
f_closedir(&dir);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue