From a70afe41f3940323e680b06da9744624dd94f214 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 12 Apr 2012 15:10:35 +0200 Subject: - use repo_free_solvable instead of repo_free_solvable_block when freeing a single solvable --- ext/repo_mdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/repo_mdk.c') 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)) -- cgit v1.2.3