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 2013/11/25 02:03:35 UTC

svn commit: r1545122 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: rhuijben
Date: Mon Nov 25 01:03:35 2013
New Revision: 1545122

URL: http://svn.apache.org/r1545122
Log:
* subversion/libsvn_wc/wc_db.c
  (read_single_info): Allocate two strings in the result pool.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1545122&r1=1545121&r2=1545122&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Mon Nov 25 01:03:35 2013
@@ -9124,7 +9124,7 @@ read_single_info(const struct svn_wc__db
           move = apr_pcalloc(result_pool, sizeof(*move));
           move->moved_to_abspath = svn_dirent_join(wcroot->abspath,
                                                    moved_to_relpath,
-                                                   scratch_pool);
+                                                   result_pool);
 
           if (!cur_relpath)
             {
@@ -9138,7 +9138,7 @@ read_single_info(const struct svn_wc__db
             }
           move->shadow_op_root_abspath = svn_dirent_join(wcroot->abspath,
                                                          cur_relpath,
-                                                         scratch_pool);
+                                                         result_pool);
 
           move->next = mtb->moved_to;
           mtb->moved_to = move;