summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 16:46:01 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 17:10:39 +0100
commitf4ed0d4f930a00282b7b74d9f6fe2427f625d313 (patch)
treeaddfd68a153e54b6c740bb73d2a907fde1f62b00 /src
parenta491e95dea7bdde97635c292b8c415f5f2320c6e (diff)
elm_cnp: move free call after the last usage
this is however pretty much irrelevant as only the pointer is used.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_cnp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 8501cfe985..ab17f5f3e4 100644
--- 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)
156 return; 156 return;
157 157
158 ldata->loss_cb(ldata->udata, ldata->type); 158 ldata->loss_cb(ldata->udata, ldata->type);
159 free(data);
160 efl_event_callback_del(ev->object, ev->desc, _selection_changed_cb, data); 159 efl_event_callback_del(ev->object, ev->desc, _selection_changed_cb, data);
160 free(data);
161} 161}
162 162
163EAPI void 163EAPI void