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 /src | |
parent | bd0bcd84be01052d9d1ebd075f459113ac96e9de (diff) |
Coverity #575: Plug a leak on the error path.
Diffstat (limited to 'src')
-rw-r--r-- | src/Xdbe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -462,6 +462,7 @@ XdbeBackBufferAttributes *XdbeGetBackBufferAttributes( if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { UnlockDisplay (dpy); SyncHandle (); + Xfree(attr); return NULL; } attr->window = rep.attributes; |