projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2409e05
)
Fix memory leak
83/268983/1
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 6 Jan 2022 01:32:11 +0000
(10:32 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 6 Jan 2022 01:32:11 +0000
(10:32 +0900)
Change-Id: I0407ab804cbdc3ea911e617c144efcf3ab3275cc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkgmgrinfo_archiveinfo.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_archiveinfo.c
b/src/pkgmgrinfo_archiveinfo.c
index
1e9099b
..
791bcd7
100644
(file)
--- a/
src/pkgmgrinfo_archiveinfo.c
+++ b/
src/pkgmgrinfo_archiveinfo.c
@@
-63,6
+63,7
@@
API int pkgmgrinfo_archiveinfo_get_archiveinfo(const char *path,
return PMINFO_R_ERROR;
}
+ free(pkg_type);
*handle = info;
return PMINFO_R_OK;