[Tizen 4.0 TV] fix svace issue. 51/124351/1 accepted/tizen/unified/20170411.164454 submit/tizen/20170411.070901
authorHyihong Chae <hh.chae@samsung.com>
Tue, 11 Apr 2017 07:04:44 +0000 (16:04 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Tue, 11 Apr 2017 07:04:44 +0000 (16:04 +0900)
Change-Id: Iacc22afdb51a1f11839430f3d65b2e23bf16014b
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/mtp-responder.spec
src/entity/mtp_object.c

index bf0299daae5788d9efec2c6951a6e3f5d6117136..d333fb0b0615bd1ad47231deffd26e081f84c65e 100755 (executable)
@@ -5,7 +5,7 @@ ExcludeArch: %arm aarch64
 
 Name:       mtp-responder
 Summary:    Media Transfer Protocol daemon (responder)
-Version:    0.0.22
+Version:    0.0.23
 Release:    1
 Group:      Network & Connectivity/Other
 License:    Apache-2.0
index 358af3cdc1f321bcd1f4064b4adf8a86af433a93..d8279e56e4affe4b96f200919ba64c650bab04dc 100755 (executable)
@@ -507,6 +507,7 @@ mtp_bool _entity_check_child_obj_path(mtp_obj_t *obj,
                if (_util_is_file_opened(child_obj->file_path) == TRUE) {
                        ERR_SECURE("File [%s] is already opened\n",
                                        child_obj->file_path);
+                       _prop_deinit_ptparray(&child_arr);
                        return FALSE;
                }