Fix double free

This commit is contained in:
Alexander Zakharov 2016-11-17 16:16:29 +03:00
parent c6e8e1074b
commit 48058efcdf

View File

@ -611,6 +611,7 @@ xclip_handle_SelectionNotify(XSelectionEvent * event)
XSelectInput(g_display, g_wnd, (wa.your_event_mask | PropertyChangeMask));
}
XFree(data);
data = NULL;
g_incr_target = event->target;
g_waiting_for_INCR = 1;
goto end;