projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c145aa4
)
elm_cnp: move free call after the last usage
author
Marcel Hollerbach
<mail@marcel-hollerbach.de>
Mon, 9 Mar 2020 15:46:01 +0000
(16:46 +0100)
committer
Taehyub Kim
<taehyub.kim@samsung.com>
Tue, 10 Mar 2020 11:08:53 +0000
(20:08 +0900)
this is however pretty much irrelevant as only the pointer is used.
src/lib/elementary/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_cnp.c
b/src/lib/elementary/elm_cnp.c
index
8501cfe
..
ab17f5f
100644
(file)
--- a/
src/lib/elementary/elm_cnp.c
+++ b/
src/lib/elementary/elm_cnp.c
@@
-156,8
+156,8
@@
_selection_changed_cb(void *data, const Efl_Event *ev)
return;
ldata->loss_cb(ldata->udata, ldata->type);
- free(data);
efl_event_callback_del(ev->object, ev->desc, _selection_changed_cb, data);
+ free(data);
}
EAPI void