mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[client] util: fix failure to dereference pointer
This commit is contained in:
parent
cce12508cc
commit
852825a97e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ bool util_fileGetContents(const char * filename, char ** buffer, size_t * length
|
|||
}
|
||||
|
||||
fclose(fh);
|
||||
buffer[fsize] = 0;
|
||||
*buffer[fsize] = 0;
|
||||
*length = fsize;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue