projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 0.7.17
[platform/upstream/libsolv.git]
/
ext
/
repo_rpmdb.c
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index
67ce81d
..
d78893e
100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-1349,6
+1349,8
@@
freestate(struct rpmdbstate *state)
#ifdef ENABLE_RPMDB
if (state->dbenvopened)
closedbenv(state);
+ if (state->dbpath_allocated)
+ solv_free((char *)state->dbpath);
#endif
if (state->rootdir)
solv_free(state->rootdir);