Changeset 2531 in project


Ignore:
Timestamp:
11/26/06 23:29:59 (15 years ago)
Author:
azul
Message:

Fixes to leak less memory?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • svn-client/trunk/svn-client.scm

    r2502 r2531  
    406406  if (err)
    407407    {
     408      apr_pool_destroy(pool);
    408409      svn_handle_error(err, stderr, FALSE);
    409410      return(C_SCHEME_FALSE);
     
    548549#<<EOF
    549550  apr_time_t when;
    550   svn_time_from_cstring(&when, data, svn_pool);
     551  apr_pool_t *pool;
     552  pool = svn_pool_create(NULL);
     553  svn_time_from_cstring(&when, data, pool);
     554  apr_pool_destroy(pool);
    551555  return((double) when);
    552556EOF
     
    658662  if (err)
    659663    {
     664      apr_pool_destroy(pool);
    660665      svn_handle_error(err, stderr, FALSE);
    661666      return(NULL);
     
    692697  if (err)
    693698    {
     699      apr_pool_destroy(pool);
    694700      svn_handle_error(err, stderr, FALSE);
    695701      return(C_SCHEME_FALSE);
Note: See TracChangeset for help on using the changeset viewer.