diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/Xdamage.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-04-02 Adam Jackson <ajax@freedesktop.org> + + * src/Xdamage.c: + Coverity #574: Plug a leak on the error path. + 2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: 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; |