Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for NULL before calling ZSTD_free?Ctx
Summary: The current ZSTD_free?Ctx functions check for null inputs, but versions prior to 0.7.0 do not. Ubuntu 16.04 ships with verion 0.5.1-1, so this can cause a crash. Add the check for null ourselves. facebook#675 Squash with: D4511885 Reviewed By: lth Differential Revision: D6477750 fbshipit-source-id: 6c1de42
- Loading branch information