mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +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;
|
||||
const char *path;
|
||||
char *filename;
|
||||
char *filename = NULL;
|
||||
struct stat st;
|
||||
int error;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user