bug fix for pkgmgrinfo_appinfo_destroy_appinfo
authorSangSoo Lee <constant.lee@samsung.com>
Mon, 18 Feb 2013 10:38:32 +0000 (19:38 +0900)
committerWonkyu Kwon <wonkyu.kwon@samsung.com>
Wed, 6 Mar 2013 07:34:29 +0000 (16:34 +0900)
Change-Id: I89848e445e041de4d8d5630cf774f2814b9265e5

common/SignatureHelper.cpp
packaging/smartcard-service.spec

index ce9940fd6808a3bd16a45a2f8ac775993ac7aa85..c9fe8ae6705ea7165efaa803544d2a7f85c427b9 100644 (file)
@@ -197,7 +197,6 @@ namespace smartcard_service_api
                        SCARD_DEBUG_ERR("pkgmgrinfo_appinfo_get_pkgid fail");
                        return result;
                }
-               pkgmgrinfo_appinfo_destroy_appinfo(handle_appinfo);
 
                SCARD_DEBUG("package name : %s", pkgid);
 
@@ -238,6 +237,8 @@ namespace smartcard_service_api
                                SCARD_DEBUG_ERR("pkgmgr_pkginfo_load_certinfo failed [%d]", ret);
                        }
 
+                       pkgmgrinfo_appinfo_destroy_appinfo(handle_appinfo);
+
                        pkgmgr_pkginfo_destroy_certinfo(handle);
                }
                else
index e4569e6194732e121bd8c462d0b1e5b70620a804..85690af950cea0c4d6dccbe33dd2b0fb6a586608 100644 (file)
@@ -1,7 +1,7 @@
 Name:       smartcard-service
 Summary:    Smartcard Service FW
-Version:    0.1.12
-Release:    4
+Version:    0.1.13
+Release:    0
 Group:      libs
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz