summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Xcomposite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c
index 0a359c0..b352e41 100644
--- a/src/Xcomposite.c
+++ b/src/Xcomposite.c
@@ -132,6 +132,7 @@ XCompositeExtAddDisplay (XCompositeExtInfo *extinfo,
{
UnlockDisplay (dpy);
SyncHandle ();
+ Xfree(info);
return 0;
}
info->major_version = rep.majorVersion;