discomfitor pushed a commit to branch master.
commit ca49356bcee95835af2bf9d9a818f89b66c5106b
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Jun 10 10:10:38 2013 +0100
fix possible null deref
klocwork issue
---
src/bin/e_comp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index a351625..7ffca77 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2282,7 +2282,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border
*bd, Eina_Bool force)
{
e_comp_win_opacity_set(cw, cw->opacity);
border = cw->bd->client.initial_attributes.border;
- x = bd->x, y = bd->y, w = bd->w, h = bd->h;
+ x = cw->bd->x, y = cw->bd->y, w = cw->bd->w, h = cw->bd->h;
}
_e_comp_win_configure(cw, x, y, w, h, border);
DBG(" [0x%x] add", cw->win);
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j