Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compression] Correctly try to reallocate only when no output data. #594

Merged
merged 1 commit into from
Jul 31, 2021

Conversation

mgautierfr
Copy link
Collaborator

This is a fix of bug introduced with commit a7201ce.

Fix #578

@codecov
Copy link

codecov bot commented Jul 29, 2021

Codecov Report

Merging #594 (d915b18) into master (6b69bc0) will decrease coverage by 0.01%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #594      +/-   ##
==========================================
- Coverage   82.80%   82.78%   -0.02%     
==========================================
  Files          91       91              
  Lines        3820     3822       +2     
  Branches     1702     1703       +1     
==========================================
+ Hits         3163     3164       +1     
- Misses        656      657       +1     
  Partials        1        1              
Impacted Files Coverage Δ
src/compression.h 95.45% <88.88%> (-1.43%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b69bc0...d915b18. Read the comment docs.

@kelson42
Copy link
Contributor

@veloman-yunkan thx for review, will rebase and merge

@kelson42 kelson42 merged commit 855dfe0 into master Jul 31, 2021
@kelson42 kelson42 deleted the fix_compression_realloc branch July 31, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compressor::feed may wrongly allocate a lot of memory.
3 participants