[c-host] option: fix memory corruption due to usage of old pointers

This commit is contained in:
Geoffrey McRae
2019-05-17 09:25:57 +10:00
parent 2fe9dc7ca1
commit a7daeb2a12
3 changed files with 14 additions and 11 deletions

View File

@@ -33,9 +33,9 @@ struct Option;
struct Option
{
const char * module;
const char * name;
const char * description;
char * module;
char * name;
char * description;
enum OptionType type;
union