Changeset 572


Ignore:
Timestamp:
Mar 17, 2008, 9:54:07 PM (13 years ago)
Author:
Peter Johansson
Message:

refs #281

Fixed problem with double deletion by removing call to
'apr_allocator_destroy(allocator_);'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.6-stable/lib/SVN.cc

    r430 r572  
    118118      svn_error_clear(svn_wc_adm_close(adm_access_));
    119119    svn_pool_destroy(pool_);
    120     apr_allocator_destroy(allocator_);
     120    pool_=NULL;
    121121    // other apr resources acquired in svn_cmdline_init are destroyed
    122122    // at program exit, ok since SVN is a singleton
     
    129129    svn_handle_error2(err,stderr,false,"svndigest: ");
    130130    svn_error_clear(err);
    131     if (pool)
     131    if (pool){
    132132      svn_pool_destroy(pool);
     133      pool=NULL;
     134    }
    133135    if (message.length()>0)
    134136      throw SVNException(message);
     
    139141  {
    140142    cleanup(err,pool_);
    141     apr_allocator_destroy(allocator_);
    142143    throw SVNException(message);
    143144  }
Note: See TracChangeset for help on using the changeset viewer.