Commit f9bc007d authored by Adam Jackson's avatar Adam Jackson 🎧

Coverity #159: Prevent a possible NULL chase.

parent 1f862e61
2006-04-06 Adam Jackson <ajax@freedesktop.org>
* src/display.c:
Coverity #159: Prevent a possible NULL chase.
2006-03-04 Daniel Stone <daniel@freedesktop.org>
* include/X11/Xcursor/Xcursor.h:
......
......@@ -57,7 +57,8 @@ _XcursorCloseDisplay (Display *dpy, XExtCodes *codes)
}
_XUnlockMutex (_Xglobal_lock);
_XcursorFreeDisplayInfo (info);
if (info)
_XcursorFreeDisplayInfo (info);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment