subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1587537 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Date Tue, 15 Apr 2014 11:46:49 GMT
Author: philip
Date: Tue Apr 15 11:46:49 2014
New Revision: 1587537

URL: http://svn.apache.org/r1587537
Log:
* subversion/libsvn_wc/wc_db_update_move.c
  (break_moved_away_children_internal): Avoid using memory after pool clear.

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

Modified: subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c?rev=1587537&r1=1587536&r2=1587537&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Tue Apr 15 11:46:49 2014
@@ -2521,8 +2521,8 @@ break_moved_away_children_internal(svn_w
   iterpool = svn_pool_create(scratch_pool);
   while (have_row)
     {
-      const char *src_relpath = svn_sqlite__column_text(stmt, 0, iterpool);
-      const char *dst_relpath = svn_sqlite__column_text(stmt, 1, iterpool);
+      const char *src_relpath = svn_sqlite__column_text(stmt, 0, NULL);
+      const char *dst_relpath = svn_sqlite__column_text(stmt, 1, NULL);
       int src_op_depth = svn_sqlite__column_int(stmt, 2);
 
       svn_pool_clear(iterpool);



Mime
View raw message