summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/Xfixes.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b681300..5d4a914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-02 Adam Jackson <ajax@freedesktop.org>
+
+ * src/Xfixes.c:
+ Coverity #576: Plug a leak on the error path.
+
2006-3-13 Deron Johnson <deron.johnson@sun.com>
* configure.ac
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;