Parent Directory
|
Revision Log
|
Patch
revision 1038 by astrand, Thu Jan 5 11:56:57 2006 UTC | revision 1048 by astrand, Tue Feb 28 08:09:41 2006 UTC | |
---|---|---|
# | Line 385 xclip_handle_SelectionNotify(XSelectionE | Line 385 xclip_handle_SelectionNotify(XSelectionE |
385 | Atom type; | Atom type; |
386 | Atom *supported_targets; | Atom *supported_targets; |
387 | int res, i, format; | int res, i, format; |
388 | uint8 *data; | uint8 *data = NULL; |
389 | ||
390 | if (event->property == None) | if (event->property == None) |
391 | goto fail; | goto fail; |
# | Line 503 xclip_handle_SelectionNotify(XSelectionE | Line 503 xclip_handle_SelectionNotify(XSelectionE |
503 | ||
504 | fail: | fail: |
505 | XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom); | XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom); |
506 | XFree(data); | if (data) |
507 | XFree(data); | |
508 | helper_cliprdr_send_empty_response(); | helper_cliprdr_send_empty_response(); |
509 | } | } |
510 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |