diff options
Diffstat (limited to 'src/examples/eio/eio_sentry.c')
-rw-r--r-- | src/examples/eio/eio_sentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/eio/eio_sentry.c b/src/examples/eio/eio_sentry.c index 342df05ad9..e604e8900d 100644 --- a/src/examples/eio/eio_sentry.c +++ b/src/examples/eio/eio_sentry.c @@ -27,7 +27,7 @@ void monitor_stuff(void *data) { const char *path = data; - Eio_Sentry *sentry = efl_add(EIO_SENTRY_CLASS, NULL); + Eio_Sentry *sentry = efl_add_ref(EIO_SENTRY_CLASS, NULL); efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)&sentry_cb, NULL); printf("Starting monitoring path %s\n", path); |