summaryrefslogtreecommitdiff
path: root/ext/repo_mdk.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-04-12 15:10:35 +0200
committerMichael Schroeder <mls@suse.de>2012-04-12 15:10:35 +0200
commita70afe41f3940323e680b06da9744624dd94f214 (patch)
tree0d01eb54050ea060519124fa0d565e8fa0944aef /ext/repo_mdk.c
parent3bd3e6a00b6f9d48082298b1ae03a76c59a9cdc1 (diff)
downloadlibsolv-a70afe41f3940323e680b06da9744624dd94f214.tar.gz
libsolv-a70afe41f3940323e680b06da9744624dd94f214.tar.bz2
libsolv-a70afe41f3940323e680b06da9744624dd94f214.zip
- use repo_free_solvable instead of repo_free_solvable_block when freeing a single solvable
Diffstat (limited to 'ext/repo_mdk.c')
-rw-r--r--ext/repo_mdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/repo_mdk.c b/ext/repo_mdk.c
index f8ece96..7fa0abd 100644
--- a/ext/repo_mdk.c
+++ b/ext/repo_mdk.c
@@ -241,7 +241,7 @@ repo_add_mdk(Repo *repo, FILE *fp, int flags)
if (s)
{
pool_debug(pool, SOLV_ERROR, "unclosed package at EOF\n");
- repo_free_solvable_block(s->repo, s - pool->solvables, 1, 1);
+ repo_free_solvable(s->repo, s - pool->solvables, 1);
}
solv_free(buf);
if (!(flags & REPO_NO_INTERNALIZE))