summaryrefslogtreecommitdiff
path: root/src/Xdamage.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-03 01:00:11 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-03 01:00:11 +0000
commite05bfca0a4377cfd137249f7df8c95706372c140 (patch)
tree103aaa8300b1d6f5a3cafd34eb70311371e0263f /src/Xdamage.c
parent660305b57b0af382dd111d8a9d0a38f663efdf25 (diff)
Coverity #574: Plug a leak on the error path.XORG-7_0_99_901
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;