Fix double free
This commit is contained in:
parent
c6e8e1074b
commit
48058efcdf
1
xclip.c
1
xclip.c
@ -611,6 +611,7 @@ xclip_handle_SelectionNotify(XSelectionEvent * event)
|
|||||||
XSelectInput(g_display, g_wnd, (wa.your_event_mask | PropertyChangeMask));
|
XSelectInput(g_display, g_wnd, (wa.your_event_mask | PropertyChangeMask));
|
||||||
}
|
}
|
||||||
XFree(data);
|
XFree(data);
|
||||||
|
data = NULL;
|
||||||
g_incr_target = event->target;
|
g_incr_target = event->target;
|
||||||
g_waiting_for_INCR = 1;
|
g_waiting_for_INCR = 1;
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
Reference in New Issue
Block a user