diff options
Diffstat (limited to 'binding/media-api.c')
-rw-r--r-- | binding/media-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-api.c b/binding/media-api.c index d02ad93..f81177d 100644 --- a/binding/media-api.c +++ b/binding/media-api.c @@ -142,7 +142,7 @@ static void media_results_get (afb_req_t request) } jresp = new_json_object_from_device(list); - g_list_free(list); + g_list_free_full(list,free_media_item); ListUnlock(); if (jresp == NULL) { |