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:
Daniel Vetter 2012-01-24 21:41:17 +01:00
parent fbae138990
commit ca10c7231d

View File

@ -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;