Fix handling index of certinfo when save certinfo 81/56381/4 accepted/tizen/mobile/20160111.084740 accepted/tizen/tv/20160111.084802 accepted/tizen/wearable/20160111.084819 submit/tizen/20160111.054210
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 7 Jan 2016 07:06:12 +0000 (16:06 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 7 Jan 2016 07:14:38 +0000 (16:14 +0900)
commit87cbb4aea101b563f8b44c1821bf328bde74e535
tree82d65f137463247665f382b8ae9372d746d963e3
parent7c7d7d4c5640cf1154b79bb1590394dbd0acd224
Fix handling index of certinfo when save certinfo

this patch makes that handle index of certinfo like before.
when save the certinfo, just override what certinfo handle has,
and decrease ref count of index of old certinfo.

Change-Id: Ic7b6ba1e9e7689967c8973cdf4b0cfc5f634c815
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser_db.c
src/pkgmgrinfo_certinfo.c
src/pkgmgrinfo_db.c