and free replies

SVN revision: 47367
This commit is contained in:
Vincent Torri 2010-03-22 08:02:12 +00:00
parent 20a58eee89
commit cdcef2c168
1 changed files with 2 additions and 0 deletions

View File

@ -146,8 +146,10 @@ engine_software_xcb_args(const char *engine, int width, int height)
cookie2 = xcb_intern_atom_unchecked(conn, 0, strlen("_NET_WM_STATE_FULLSCREEN"), "_NET_WM_STATE_FULLSCREEN");
reply = xcb_intern_atom_reply(conn, cookie1, NULL);
prop = reply->atom;
free(reply);
reply = xcb_intern_atom_reply(conn, cookie2, NULL);
state = reply->atom;
free(reply);
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, win, prop, XCB_ATOM_ATOM, 32, 1, (const void *)&state);
}