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:
2e441c3
)
eio: fix free eina_promises in error_callbacks
author
Larry Jr
<larry.olj@gmail.com>
Mon, 6 Jun 2016 06:10:24 +0000
(
03:10
-0300)
committer
Felipe Magno de Almeida
<felipe@expertisesolutions.com.br>
Mon, 6 Jun 2016 06:30:42 +0000
(
03:30
-0300)
src/lib/eio/eio_model.c
patch
|
blob
|
history
diff --git
a/src/lib/eio/eio_model.c
b/src/lib/eio/eio_model.c
index
e4d4955
..
da010ef
100644
(file)
--- a/
src/lib/eio/eio_model.c
+++ b/
src/lib/eio/eio_model.c
@@
-111,6
+111,11
@@
_eio_error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
{
eina_promise_owner_error_set(p->promise, EFL_MODEL_ERROR_UNKNOWN);
}
+ eina_list_free(priv->property_promises);
+ priv->property_promises = NULL;
+
+ eio_file_cancel(priv->stat_file);
+ priv->stat_file = NULL;
}
}