and free replies
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Mar 2010 08:02:12 +0000 (08:02 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Mar 2010 08:02:12 +0000 (08:02 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/expedite@47367 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/engine_software_xcb.c

index 49f1f29..f1a8bbd 100644 (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); 
      }