projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc770d1
)
Fixing wrong memory allocations.
author
glima
<glima>
Tue, 3 Aug 2010 16:45:37 +0000
(16:45 +0000)
committer
glima
<glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 3 Aug 2010 16:45:37 +0000
(16:45 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50769
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_edit.c
b/src/lib/edje_edit.c
index
4307b07
..
3c0ce3e
100644
(file)
--- a/
src/lib/edje_edit.c
+++ b/
src/lib/edje_edit.c
@@
-6174,7
+6174,7
@@
_edje_edit_part_save(Edje_Part *ep)
Old_Edje_Part *oep;
unsigned int i;
- oep = calloc(1, sizeof
(
oep));
+ oep = calloc(1, sizeof
(*
oep));
if (!oep) return NULL;
oep->name = ep->name;
@@
-6235,7
+6235,7
@@
_edje_edit_collection_save(Eet_File *eetf, Edje_Part_Collection *epc)
it = eina_hash_iterator_tuple_new(epc->data);
EINA_ITERATOR_FOREACH(it, tu)
{
- di = malloc(sizeof
(
di));
+ di = malloc(sizeof
(*
di));
if (!di) return EINA_FALSE;
di->key = tu->key;