X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_in.c;h=f61377274f49fce15e7e54d1bfb6eef7919ae253;hb=cebd482a20fcc2b2dae0683c38e917a3740638a6;hp=1d029afa94cc25203b79cf4834f831aa0c3934d8;hpb=c5b2e53abf0b113d4cc4105127cf848ee450aa98;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_in.c b/src/xcb_in.c index 1d029af..f613772 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -191,6 +191,7 @@ static int read_packet(xcb_connection_t *c) if(!cur) { _xcb_conn_shutdown(c); + free(buf); return 0; } cur->reply = buf;