diff options
author | Michael Schroeder <mls@suse.de> | 2013-02-04 16:11:16 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-02-04 16:11:16 +0100 |
commit | e06b8055a9168b7a7a24bff0ee8265a4df8124c2 (patch) | |
tree | db080ebb7265793e462d98a7d4bd16a44154a01e /src/policy.c | |
parent | 41c5eb1cdfff8c8ed92194eafbb3070c86350c4e (diff) | |
download | libsolv-e06b8055a9168b7a7a24bff0ee8265a4df8124c2.tar.gz libsolv-e06b8055a9168b7a7a24bff0ee8265a4df8124c2.tar.bz2 libsolv-e06b8055a9168b7a7a24bff0ee8265a4df8124c2.zip |
don't free obsoletes/obsoetes_data in solver cleanup
Diffstat (limited to 'src/policy.c')
-rw-r--r-- | src/policy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/policy.c b/src/policy.c index abd07e5..6243e09 100644 --- a/src/policy.c +++ b/src/policy.c @@ -768,6 +768,8 @@ policy_create_obsolete_index(Solver *solv) Id p, pp, obs, *obsp, *obsoletes, *obsoletes_data; int i, n, cnt; + solv->obsoletes = solv_free(solv->obsoletes); + solv->obsoletes_data = solv_free(solv->obsoletes_data); if (!installed || installed->start == installed->end) return; cnt = installed->end - installed->start; |