xutil: init reply
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
29361699d2
commit
ea4f6298d5
|
@ -45,6 +45,9 @@ xutil_text_prop_get(xcb_connection_t *conn, xcb_window_t w, xcb_atom_t atom,
|
||||||
char **text, ssize_t *len)
|
char **text, ssize_t *len)
|
||||||
{
|
{
|
||||||
xcb_get_text_property_reply_t reply;
|
xcb_get_text_property_reply_t reply;
|
||||||
|
|
||||||
|
p_clear(&reply, 1);
|
||||||
|
|
||||||
if(!xcb_get_text_property_reply(conn,
|
if(!xcb_get_text_property_reply(conn,
|
||||||
xcb_get_text_property_unchecked(conn, w,
|
xcb_get_text_property_unchecked(conn, w,
|
||||||
atom),
|
atom),
|
||||||
|
|
Loading…
Reference in New Issue