[Xcb-commit] xcb/proto: src

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 3 18:56:06 UTC 2020


 src/xproto.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0c31b8a29e1b4732f315a75f9b42a8345fafdc5f
Author: Samanta Navarro <ferivoz at riseup.net>
Date:   Sat Oct 3 11:38:13 2020 +0000

    Fix typo in documentation
    
    Signed-off-by: Samanta Navarro <ferivoz at riseup.net>

diff --git a/src/xproto.xml b/src/xproto.xml
index dea48df..116781e 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -2624,7 +2624,7 @@ void my_example(xcb_connection_t *conn, xcb_screen_t *screen, xcb_cursor_t curso
     if ((reply = xcb_grab_pointer_reply(conn, cookie, NULL))) {
         if (reply->status == XCB_GRAB_STATUS_SUCCESS)
             printf("successfully grabbed the pointer\\n");
-        free(preply);
+        free(reply);
     }
 }
       ]]></example>


More information about the xcb-commit mailing list