projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
709b975
)
edje: protect for people who don't have Ephysics.
author
Cedric BAIL
<cedric.bail@samsung.com>
Wed, 13 Mar 2013 08:38:57 +0000
(17:38 +0900)
committer
Cedric BAIL
<cedric.bail@samsung.com>
Wed, 13 Mar 2013 08:38:57 +0000
(17:38 +0900)
src/lib/edje/edje_calc.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_calc.c
b/src/lib/edje/edje_calc.c
index
cdba556
..
13a8f24
100644
(file)
--- a/
src/lib/edje/edje_calc.c
+++ b/
src/lib/edje/edje_calc.c
@@
-3656,9
+3656,11
@@
_edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
if (pf == &lp3)
{
eina_cow_free(_edje_calc_params_map_cow, lp3.map);
- eina_cow_free(_edje_calc_params_physics_cow, lp3.physics);
lp3.map = NULL;
+#ifdef HAVE_EPHYSICS
+ eina_cow_free(_edje_calc_params_physics_cow, lp3.physics);
lp3.physics = NULL;
+#endif
}
#ifdef EDJE_CALC_CACHE
@@
-3669,6
+3671,8
@@
_edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
}
#else
eina_cow_free(_edje_calc_params_map_cow, lp1.map);
+#ifdef HAVE_EPHYSICS
eina_cow_free(_edje_calc_params_physics_cow, lp1.physics);
#endif
+#endif
}