- Timestamp:
- Mar 17, 2008, 9:54:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.6-stable/lib/SVN.cc
r430 r572 118 118 svn_error_clear(svn_wc_adm_close(adm_access_)); 119 119 svn_pool_destroy(pool_); 120 apr_allocator_destroy(allocator_);120 pool_=NULL; 121 121 // other apr resources acquired in svn_cmdline_init are destroyed 122 122 // at program exit, ok since SVN is a singleton … … 129 129 svn_handle_error2(err,stderr,false,"svndigest: "); 130 130 svn_error_clear(err); 131 if (pool) 131 if (pool){ 132 132 svn_pool_destroy(pool); 133 pool=NULL; 134 } 133 135 if (message.length()>0) 134 136 throw SVNException(message); … … 139 141 { 140 142 cleanup(err,pool_); 141 apr_allocator_destroy(allocator_);142 143 throw SVNException(message); 143 144 }
Note: See TracChangeset
for help on using the changeset viewer.