summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-03 00:58:13 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-03 00:58:13 +0000
commit0ce5551f030c27705b3828b41647824577e30f74 (patch)
treed94cd2b3919ac5f99a71531507c3e1bff5ce5214 /src
parente9e432a987682ee16ed0dbc1e9b520fa5720150c (diff)
Coverity #576: Plug a leak on the error path.XORG-7_0_99_901
Diffstat (limited to 'src')
-rw-r--r--src/Xfixes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index e4dfd05..5b279a1 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -86,6 +86,7 @@ XFixesExtAddDisplay (XFixesExtInfo *extinfo,
{
UnlockDisplay (dpy);
SyncHandle ();
+ Xfree(info);
return 0;
}
info->major_version = rep.majorVersion;