prevent issue fix 48/49548/1 accepted/tizen/mobile/20151015.045723 accepted/tizen/tv/20151015.045734 accepted/tizen/wearable/20151015.045752 submit/tizen/20151015.021734 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorHaejeong, Kim <backto.kim@samsung.com>
Thu, 15 Oct 2015 01:47:47 +0000 (10:47 +0900)
committerHaejeong, Kim <backto.kim@samsung.com>
Thu, 15 Oct 2015 01:47:47 +0000 (10:47 +0900)
Change-Id: I7c97558dcb73dbc4c1ad874cdee53ed6f85057d3

svc/media_controller_db_util.c

index a7a77c8..c9f3370 100755 (executable)
@@ -193,7 +193,7 @@ int mc_db_util_connect(void **handle, uid_t uid, bool need_write)
 
        db_name = __mc_get_db_name(uid);
 
-       if (!MC_STRING_VALID(db_name)) {
+       if (db_name == NULL) {
                mc_error("error when get db path");
                return MEDIA_CONTROLLER_ERROR_INVALID_OPERATION;
        }