Fix bug - don't delete timezone object 51/63851/1 accepted/tizen/common/20160329.050641 accepted/tizen/ivi/20160328.115652 accepted/tizen/mobile/20160328.115324 accepted/tizen/tv/20160328.115348 accepted/tizen/wearable/20160328.115613 submit/tizen/20160328.061137
authorByungWoo Lee <bw1212.lee@samsung.com>
Mon, 28 Mar 2016 05:56:52 +0000 (14:56 +0900)
committerByungWoo Lee <bw1212.lee@samsung.com>
Mon, 28 Mar 2016 05:56:52 +0000 (14:56 +0900)
Change-Id: I3ff6e00affd052eaf11e72b7c995a204c99e0456

packaging/capi-base-utils.spec
src/utils_i18n_timezone.cpp

index d98fc4b..8fbf2de 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-base-utils
 Summary:    Base Utils
-Version:    1.2.1
+Version:    1.2.2
 Release:    1
 Group:      Base
 License:    Apache-2.0 and ICU
index fdd706f..bbe4c71 100755 (executable)
@@ -49,9 +49,6 @@ int i18n_timezone_create_gmt(i18n_timezone_h *timezone)
 
     *timezone = gmt->clone();
 
-    if (gmt != NULL)
-        delete gmt;
-
     retv_if(timezone == NULL, I18N_ERROR_OUT_OF_MEMORY);
 
     return I18N_ERROR_NONE;