summaryrefslogtreecommitdiff
path: root/src/lib/store/store_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/store/store_event.c')
-rw-r--r--src/lib/store/store_event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/store/store_event.c b/src/lib/store/store_event.c
index 2c60261..45b2010 100644
--- a/src/lib/store/store_event.c
+++ b/src/lib/store/store_event.c
@@ -71,13 +71,15 @@ store_event_complete(void *data,
71 eina_strbuf_string_get(sa->data.buf)); 71 eina_strbuf_string_get(sa->data.buf));
72 sa->cb.error((void *)sa->cb.data, sa->store, errstr); 72 sa->cb.error((void *)sa->cb.data, sa->store, errstr);
73 free(errstr); 73 free(errstr);
74 return EINA_TRUE; 74 goto complete_end;
75 } 75 }
76 76
77 sa->cb.done((void *)sa->cb.data, 77 sa->cb.done((void *)sa->cb.data,
78 sa->store, 78 sa->store,
79 (char *)eina_strbuf_string_get(sa->data.buf), 79 (char *)eina_strbuf_string_get(sa->data.buf),
80 eina_strbuf_length_get(sa->data.buf)); 80 eina_strbuf_length_get(sa->data.buf));
81
82complete_end:
81 store_add_free(sa); 83 store_add_free(sa);
82 return EINA_TRUE; 84 return EINA_TRUE;
83} 85}