summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2015-03-18 22:01:35 +0100
committerUli Schlachter <psychon@znc.in>2015-03-18 22:01:35 +0100
commit4b6a0d480c1cc0041d22a909aadcbb5f82c69535 (patch)
tree4f7da0796687717cabf4eaf0cffd087509605f40 /src
parentc851709f018f0cc5a904f7e9ef830fa246322019 (diff)
Fix memory leak in xcb_errors_context_new()
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rw-r--r--src/xcb_errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xcb_errors.c b/src/xcb_errors.c
index a59a527..53d90a9 100644
--- a/src/xcb_errors.c
+++ b/src/xcb_errors.c
@@ -112,6 +112,7 @@ int xcb_errors_context_new(xcb_connection_t *conn, xcb_errors_context_t **c)
xcb_str_next(&iter);
}
+ free(reply);
return 0;
error_out: