projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7a246
)
Fix calloc size
29/68329/1
accepted/tizen/common/20160504.130228
accepted/tizen/ivi/20160504.012515
accepted/tizen/mobile/20160504.012412
accepted/tizen/tv/20160504.012427
accepted/tizen/wearable/20160504.012457
submit/tizen/20160503.113831
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 3 May 2016 11:28:07 +0000
(20:28 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 3 May 2016 11:28:23 +0000
(20:28 +0900)
Change-Id: I41969322131b68fb78f1cf89033c646f57913b04
src/tbm_surface_internal.c
patch
|
blob
|
history
diff --git
a/src/tbm_surface_internal.c
b/src/tbm_surface_internal.c
index
5fec104
..
f2352bf
100755
(executable)
--- a/
src/tbm_surface_internal.c
+++ b/
src/tbm_surface_internal.c
@@
-1278,7
+1278,7
@@
tbm_surface_internal_dump_start(char *path, int buffer_size, int count)
return;
}
- g_dump_info = calloc(1, sizeof (
buffer_size *count
));
+ g_dump_info = calloc(1, sizeof (
struct _tbm_surface_dump_info
));
TBM_RETURN_IF_FAIL(g_dump_info);
LIST_INITHEAD(&g_dump_info->surface_list);