summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b25418c..fe6e6c6 100644
--- a/binding/afm-mediaplayer-binding.c
+++ b/binding/afm-mediaplayer-binding.c
@@ -1020,6 +1020,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;