mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Fixes for memory issues detected by valgrind
This commit is contained in:
committed by
Adam Honse
parent
ff07a488a2
commit
53379c5482
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user