diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-03 00:51:20 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-03 00:51:20 +0000 |
commit | 1225f28f6ef0712c9adf52edd8b1a3205bbc76b2 (patch) | |
tree | eab7c0dd710ae1cba90dc96ce0715056ad288043 | |
parent | bd0bcd84be01052d9d1ebd075f459113ac96e9de (diff) |
Coverity #575: Plug a leak on the error path.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/Xdbe.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-04-02 Adam Jackson <ajax@freedesktop.org> + + * src/Xdbe.c: + Coverity #575: Plug a leak on the error path. + 2006-02-12 Alan Coopersmith <alan.coopersmith@sun.com> * man/Makefile.am: @@ -462,6 +462,7 @@ XdbeBackBufferAttributes *XdbeGetBackBufferAttributes( if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { UnlockDisplay (dpy); SyncHandle (); + Xfree(attr); return NULL; } attr->window = rep.attributes; |