-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix double free in roaring64 andnot_inplace (#556)
* Fix double free in roaring64 andnot_inplace container_iandnot frees the original container if necessary. Interestingly, as far as I can tell container_iand does not. Added a test for both. * Document that container_{ixor, iandnot} free the original In contrast to other in-place functions, which don't free the original if a different type of container is created.
- Loading branch information
Showing
3 changed files
with
76 additions
and
45 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
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
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