-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure reservation_ is initialized correctly
Fix an issue introduced in commit 12d693d where reservation_ field may not be initalized with the result of a successful anon_mmap() call. In the deconstructor, the memory is released based on reservation_ value. Signed-off-by: Joran Siu <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters