projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a416fa1
)
xwm: Don't leak render format reply
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 21 May 2012 18:08:23 +0000
(14:08 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 21 May 2012 21:03:16 +0000
(17:03 -0400)
Spotted by psychon on irc.
src/xserver-launcher.c
patch
|
blob
|
history
diff --git
a/src/xserver-launcher.c
b/src/xserver-launcher.c
index
5e44598
..
ae53009
100644
(file)
--- a/
src/xserver-launcher.c
+++ b/
src/xserver-launcher.c
@@
-1612,6
+1612,8
@@
wxs_wm_get_resources(struct weston_wm *wm)
if (formats[i].type == XCB_RENDER_PICT_TYPE_DIRECT &&
formats[i].depth == 24)
wm->render_format = formats[i];
+
+ free(formats_reply);
}
static void