diff options
Diffstat (limited to 'ext/repo_content.c')
-rw-r--r-- | ext/repo_content.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/repo_content.c b/ext/repo_content.c index 68af2d5..f361900 100644 --- a/ext/repo_content.c +++ b/ext/repo_content.c @@ -517,8 +517,7 @@ repo_add_content(Repo *repo, FILE *fp, int flags) if (s && !s->name) { pool_debug(pool, SOLV_ERROR, "repo_content: 'content' incomplete, no product solvable created!\n"); - repo_free_solvable(repo, s - pool->solvables, 1); - s = 0; + s = solvable_free(s, 1); } if (s) { |