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