projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf87136
)
no need to alloc filename
author
discomfitor
<discomfitor>
Fri, 2 Dec 2011 14:35:36 +0000
(14:35 +0000)
committer
discomfitor
<discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 2 Dec 2011 14:35:36 +0000
(14:35 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@65818
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_lib.c
b/src/lib/eet_lib.c
index
82d85ab
..
81c2f36
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-1586,7
+1586,7
@@
open_error:
file_len = strlen(file) + 1;
/* Allocate struct for eet file and have it zero'd out */
- ef = malloc(sizeof(Eet_File)
+ file_len
);
+ ef = malloc(sizeof(Eet_File));
if (!ef)
goto on_error;