summaryrefslogtreecommitdiff
path: root/src/Xdbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xdbe.c')
-rw-r--r--src/Xdbe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xdbe.c b/src/Xdbe.c
index 954c8f0..8897179 100644
--- a/src/Xdbe.c
+++ b/src/Xdbe.c
@@ -462,6 +462,7 @@ XdbeBackBufferAttributes *XdbeGetBackBufferAttributes(
if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) {
UnlockDisplay (dpy);
SyncHandle ();
+ Xfree(attr);
return NULL;
}
attr->window = rep.attributes;