mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
intel_error_decode: fixup glibc free warning
Usually some random stack garbage doesn't equal some other random stack garbage, leading to the filename != path check succeeding. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
fbae138990
commit
ca10c7231d
@ -428,7 +428,7 @@ main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
FILE *file;
|
FILE *file;
|
||||||
const char *path;
|
const char *path;
|
||||||
char *filename;
|
char *filename = NULL;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
int error;
|
int error;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user