You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/03/21 22:09:43 UTC

svn commit: r1668320 - /subversion/trunk/subversion/libsvn_ra_serf/update.c

Author: rhuijben
Date: Sat Mar 21 21:09:42 2015
New Revision: 1668320

URL: http://svn.apache.org/r1668320
Log:
Resolve a minor memory leak against pre 1.5 servers when running update
like operations using ra-serf.

* subversion/libsvn_ra_serf/update.c
  (make_update_reporter): Allocate depth filter in the result pool instead
    of the session pool.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/update.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1668320&r1=1668319&r2=1668320&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Sat Mar 21 21:09:42 2015
@@ -2759,7 +2759,7 @@ make_update_reporter(svn_ra_session_t *r
                                             update_editor,
                                             update_baton,
                                             depth, has_target,
-                                            sess->pool));
+                                            result_pool));
       update_editor = filter_editor;
       update_baton = filter_baton;
     }