Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
unref'ing SGReferenced data twice is OK now
- make ref() function protected: when assigning SGVector/Matrix objects they will automagically call ref() so an extra ref() is not necessary - ensure that when calling unref() the ptr to the refcount and the data is set to NULL - this is OK since there must be one object that still exists that will then later free the data. this enables calling unref() twice w/o getting double free errors
- Loading branch information
Soeren Sonnenburg
committed
May 8, 2012
1 parent
67b73a2
commit 9490ebe
Showing
4 changed files
with
29 additions
and
34 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
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