summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
Diffstat (limited to 'binding')
-rw-r--r--binding/afm-mediaplayer-binding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c
index 4720b63..36fce89 100644
--- a/binding/afm-mediaplayer-binding.c
+++ b/binding/afm-mediaplayer-binding.c
@@ -986,6 +986,7 @@ static void onevent(afb_api_t api, const char *event, struct json_object *object
pthread_mutex_unlock(&mutex);
+ json_object_get(object);
afb_event_push(metadata_event, object);
return;