Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit memset call to avoid potentially corrupt data. (#277)
In kernel 4.19, I saw a kernel crash where kfree was trying to free some garbage pointer. This occurred because this structure wasn't explicitly initialized to 0.
- Loading branch information
This change is causing
ISO C90 forbids mixed declarations and code
in the next line.