Commit 6bc59056 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

x11drv: Prevent NULL dereference in SelectionRequest handling.

parent c1f52e00
......@@ -2795,7 +2795,7 @@ static Atom X11DRV_SelectionRequest_TARGETS( Display *display, Window requestor,
*/
cTargets = 1; /* Include TARGETS */
lpData = ClipData;
if (!(lpData = ClipData)) return None;
do
{
......
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