summaryrefslogtreecommitdiff
path: root/hw/xquartz/pbproxy
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-10-26 13:17:49 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-10-28 22:00:52 -0700
commitb742da0b719198a42a086049771792af84f470ca (patch)
treebae74dc3d8225b0201ee60cf47801943d80bdbae /hw/xquartz/pbproxy
parentc885110aedc19e551de22a526397d77013c3dfcb (diff)
XQuartz: pbproxy: fixed blocking
(cherry picked from commit bb330a1b1c480e89727fb75ff5aeb71f4afc5ee3)
Diffstat (limited to 'hw/xquartz/pbproxy')
-rw-r--r--hw/xquartz/pbproxy/x-selection.m11
1 files changed, 6 insertions, 5 deletions
diff --git a/hw/xquartz/pbproxy/x-selection.m b/hw/xquartz/pbproxy/x-selection.m
index b95dfbf48..f17970c59 100644
--- a/hw/xquartz/pbproxy/x-selection.m
+++ b/hw/xquartz/pbproxy/x-selection.m
@@ -250,11 +250,12 @@ get_property(Window win, Atom property, struct propdata *pdata, Bool delete, Ato
{
string = True;
}
- else
- {
- const char *type = XGetAtomName(x_dpy, a);
- DB("Unhandled X11 mime type: %s", type);
- Xfree(type);
+ else
+ {
+ char *type = XGetAtomName(x_dpy, a);
+ DB("Unhandled X11 mime type: %s", type);
+ XFree(type);
+ }
}
/*We prefer PNG over strings, and UTF8 over a Latin-1 string.*/