Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory

This commit is contained in:
Alexander Gottwald 2004-12-01 12:42:17 +00:00
parent f3d83ee153
commit 11a03ab908

View file

@ -3352,7 +3352,7 @@ int _XOpenFile(path, flags)
int flags;
{
char buf[MAX_PATH];
char* bufp;
char* bufp = NULL;
int ret = -1;
UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS);