- For normal case, 'item_list' will be released after it is used(update_to_db is called).
If handle is destroyed before update_to_db() is called, memory leak occur.
Change-Id: I18111eea9fef4bd4054146b9a0ddba4f84ad1f4d
content_retip_if_fail(playlist);
content_retip_if_fail(playlist);
+ __media_playlist_item_release(_playlist);
+
g_free(_playlist->name);
g_free(_playlist->thumbnail_path);
g_free(_playlist);
g_free(_playlist->name);
g_free(_playlist->thumbnail_path);
g_free(_playlist);
content_retip_if_fail(tag);
content_retip_if_fail(tag);
+ __media_tag_item_release(_tag);
+
g_free(_tag->name);
g_free(_tag);
g_free(_tag->name);
g_free(_tag);