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

freeing dictionary makes the code working only once #6

Open
alizx opened this issue Aug 22, 2020 · 1 comment
Open

freeing dictionary makes the code working only once #6

alizx opened this issue Aug 22, 2020 · 1 comment

Comments

@alizx
Copy link

alizx commented Aug 22, 2020

for my code to work I need to comment out these two lines. other than that it can decompress only once.

deinit {
       if (haveCDict) { ZSTD_freeCDict(compDict) }
       if (haveDDict) { ZSTD_freeDDict(decompDict) }
}
RouR added a commit to RouR/SwiftZSTD that referenced this issue May 28, 2022
@glve1027
Copy link

+1

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

No branches or pull requests

2 participants