Fix memory leak when using a dictionary
Fix memory leak when using a dictionary

I was batch compressing several thousand documents and after a number of them I was getting segfaults because several GB of memory were being used. Now the peak usage is in the tens-of-MB range.
kjdev/php-ext-zstd,kjdev/php-ext-zstd