projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0452f87
)
calloc not malloc! bad patches!
author
raster
<raster>
Thu, 25 Dec 2008 08:35:51 +0000
(08:35 +0000)
committer
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Dec 2008 08:35:51 +0000
(08:35 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@38318
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/modules/xine/emotion_xine_vo_out.c
patch
|
blob
|
history
diff --git
a/src/modules/xine/emotion_xine_vo_out.c
b/src/modules/xine/emotion_xine_vo_out.c
index
7e3c66b
..
e3bf7d5
100644
(file)
--- a/
src/modules/xine/emotion_xine_vo_out.c
+++ b/
src/modules/xine/emotion_xine_vo_out.c
@@
-311,7
+311,7
@@
_emotion_frame_alloc(vo_driver_t *vo_driver)
dv = (Emotion_Driver *)vo_driver;
// printf("emotion: _emotion_frame_alloc()\n");
- fr = (Emotion_Frame *)
malloc(
sizeof(Emotion_Frame));
+ fr = (Emotion_Frame *)
calloc(1,
sizeof(Emotion_Frame));
if (!fr) return NULL;
fr->vo_frame.base[0] = NULL;