diff options
Diffstat (limited to 'ext/repo_rpmdb.c')
-rw-r--r-- | ext/repo_rpmdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 67ce81d..d78893e 100644 --- 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); |