Fix crash issue 66/81066/1 accepted/tizen/common/20160725.153750 accepted/tizen/ivi/20160725.234037 accepted/tizen/mobile/20160725.233946 accepted/tizen/tv/20160725.234004 accepted/tizen/wearable/20160725.234018 submit/tizen/20160725.135548
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 21 Jul 2016 23:26:40 +0000 (08:26 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 21 Jul 2016 23:26:40 +0000 (08:26 +0900)
Change-Id: I4af98dbd4497e955fbdff0275ae49be34963ee07
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/capi-content-media-content.spec
src/media_info.c

index e365775..5dc12db 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-content-media-content
 Summary:    A Media content library in Tizen Native API
-Version:    0.2.81
+Version:    0.2.82
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index bfc0d5d..2108211 100755 (executable)
@@ -91,7 +91,7 @@ static void __media_info_thumbnail_completed_cb(int error, const char *path, voi
        if (_thumb_cb != NULL) {
                media = _thumb_cb->handle;
                if ((media != NULL) && STRING_VALID(path)) {
-                       SAFE_FREE(media->thumbnail_path);
+                       media->thumbnail_path = NULL;
                        media->thumbnail_path = g_strdup(path);
                }