]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Remove wrong solv_free(data->vincore) in repodata_internalize
authorMichael Schroeder <mls@suse.de>
Thu, 7 Jun 2018 12:18:25 +0000 (14:18 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 7 Jun 2018 12:18:25 +0000 (14:18 +0200)
We're extending the old buffer, so the free is always wrong.

src/repodata.c

index 055020f03810331be12c4785fb6be3f5e933af94..2f379aecfb169861cf6c21dc649e13e7dba89bbf 100644 (file)
@@ -3546,7 +3546,6 @@ entrydone:
   data->incoredatalen = newincore.len;
   data->incoredatafree = 0;
 
-  solv_free(data->vincore);
   data->vincore = newvincore.buf;
   data->vincorelen = newvincore.len;