Opened 12 years ago

Closed 12 years ago

#81 closed task (fixed)

Check if apr_pool_destroy handles nll pointers gracefully ( code improvement)

Reported by: jari Owned by: jari
Priority: major Milestone: 0.5
Component: core Version: trunk
Keywords: Cc:


In there are two blocks of code that looks something like this. Check if apr_pool_destroy can handle a null pointer, if so make the code use cleanup(err,null);

cleanup could be called if a null pool can be passed to svn_pool_destroy (which is just a #define to apr_pool_destroy svn_handle_error2(err,stderr,false,"svndigest:"); svn_error_clear(err); throw SVNException("setup_ra_session: svn_client_open_ra_session failed");

Change History (2)

comment:1 Changed 12 years ago by jari

  • Status changed from new to assigned

comment:2 Changed 12 years ago by jari

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [191]) Fixes #81. Changed behaviour of the cleanup functionalities in the SVN class.

Note: See TracTickets for help on using tickets.