[client] util: fix failure to dereference pointer

This commit is contained in:
Geoffrey McRae committed 2023-11-11 13:48:41 +11:00
1 parent cce12508cc
commit 852825a97e
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}