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 Jari Häkkinen)

error stuff must be clean up manually, from svn API docs:

Change History (3)

comment:1 Changed 18 years ago by Jari Häkkinen

Status: newassigned

comment:2 Changed 18 years ago by Jari Häkkinen

Description: modified (diff)

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.

comment:3 Changed 18 years ago by Jari Häkkinen

Resolution: fixed
Status: assignedclosed

(In [91]) Fixes #4, #19, #32, #34: Started to implement subversion API usage.

Note: See TracTickets for help on using tickets.