diff options
author | Michael Schroeder <mls@suse.de> | 2012-04-12 15:10:35 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-04-12 15:10:35 +0200 |
commit | a70afe41f3940323e680b06da9744624dd94f214 (patch) | |
tree | 0d01eb54050ea060519124fa0d565e8fa0944aef /ext/repo_arch.c | |
parent | 3bd3e6a00b6f9d48082298b1ae03a76c59a9cdc1 (diff) | |
download | libsolv-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_arch.c')
-rw-r--r-- | ext/repo_arch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/repo_arch.c b/ext/repo_arch.c index 183d13d..0a9089e 100644 --- a/ext/repo_arch.c +++ b/ext/repo_arch.c @@ -437,7 +437,7 @@ repo_add_arch_pkg(Repo *repo, const char *fn, int flags) fclose(fp); if (s && !s->name) { - repo_free_solvable_block(repo, s - pool->solvables, 1, 1); + repo_free_solvable(repo, s - pool->solvables, 1); s = 0; } if (s) @@ -719,7 +719,7 @@ finishsolvable(Repo *repo, Solvable *s) return; if (!s->name) { - repo_free_solvable_block(repo, s - pool->solvables, 1, 1); + repo_free_solvable(repo, s - pool->solvables, 1); return; } if (!s->arch) |