Opened 18 years ago
Closed 18 years ago
#34 closed task (fixed)
Make sure that the constructors in SVN class makes a proper cleanup in cases of abort.
Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | 0.3 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
error stuff must be clean up manually, from svn API docs:
Change History (3)
comment:1 Changed 18 years ago by
Status: | new → assigned |
---|
comment:2 Changed 18 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
error stuff must be clean up manually, from svn API docs:
void svn_error_clear(svn_error_t *error)
Free the memory used by error, as well as all ancestors and descendants of error.
Unlike other Subversion objects, errors are managed explicitly; you MUST clear an error if you are ignoring it, or you are leaking memory. For convenience, error may be NULL, in which case this function does nothing; thus, svn_error_clear(svn_foo(...)) works as an idiom to ignore errors.