Fixes for memory issues detected by valgrind
This commit is contained in:
parent
ff07a488a2
commit
53379c5482
17 changed files with 74 additions and 27 deletions
|
|
@ -103,7 +103,7 @@ bool ProfileManager::LoadProfileWithOptions
|
|||
/*---------------------------------------------------------*\
|
||||
| Read and verify file header |
|
||||
\*---------------------------------------------------------*/
|
||||
char header_string[16];
|
||||
char header_string[16]{};
|
||||
unsigned int header_version;
|
||||
|
||||
controller_file.read(header_string, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue