XQuartz: pbproxy: fixed blocking

(cherry picked from commit bb330a1b1c480e89727fb75ff5aeb71f4afc5ee3)
This commit is contained in:
Jeremy Huddleston 2008-10-26 13:17:49 -07:00
parent c885110aed
commit b742da0b71

View File

@ -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.*/