Release 'item_list' when handle is destroyed 81/230481/3 accepted/tizen/unified/20200411.115612 submit/tizen/20200410.073041
authorjiyong.min <jiyong.min@samsung.com>
Fri, 10 Apr 2020 05:41:06 +0000 (14:41 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Fri, 10 Apr 2020 05:55:09 +0000 (14:55 +0900)
commitf7f94cd77c7050231e60d40421d7bd77ae1a5be3
tree8c74fa090b26dbebd388ddba53dd14fb77e74ab7
parent04158a106bb33878c4bf60a31863db9deed4723d
Release 'item_list' when handle is destroyed

  - 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
src/media_playlist.c
src/media_tag.c