projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b401017
)
fileselector: Fixed wrong allocation in _custom_filter_append
author
Ryuan Choi
<ryuan.choi@gmail.com>
Wed, 1 Jan 2014 06:20:24 +0000
(15:20 +0900)
committer
Ryuan Choi
<ryuan.choi@gmail.com>
Wed, 1 Jan 2014 06:32:32 +0000
(15:32 +0900)
Reported as CID:
1147526
by Coverity Scan
src/lib/elc_fileselector.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_fileselector.c
b/src/lib/elc_fileselector.c
index 35b8230d7882e8845a49e22d27f64f7b6dd25f7b..d1895bc76df58093d7908cb5b810372930117018 100644
(file)
--- a/
src/lib/elc_fileselector.c
+++ b/
src/lib/elc_fileselector.c
@@
-2024,7
+2024,7
@@
_custom_filter_append(Eo *obj, void *_pd, va_list *list)
ff = _filter_add(sd, filter_name ? filter_name : "custom");
ff->filter_type = ELM_FILESELECTOR_CUSTOM_FILTER;
- ff->filter.custom = malloc(sizeof(Elm_Fileselector_
Filter_Func
));
+ ff->filter.custom = malloc(sizeof(Elm_Fileselector_
Custom_Filter
));
ff->filter.custom->func = func;
ff->filter.custom->data = data;