subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1440467 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Date Wed, 30 Jan 2013 15:31:10 GMT
Author: ivan
Date: Wed Jan 30 15:31:10 2013
New Revision: 1440467

URL: http://svn.apache.org/viewvc?rev=1440467&view=rev
Log:
* subversion/libsvn_ra_serf/update.c
  (try_get_wc_contents): Disown destination stream before passing it to 
   svn_stream_copy3().

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=1440467&r1=1440466&r2=1440467&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Wed Jan 30 15:31:10 2013
@@ -3485,7 +3485,9 @@ try_get_wc_contents(svn_boolean_t *found
   
   if (wc_stream)
     {
-      SVN_ERR(svn_stream_copy3(wc_stream, dst_stream, NULL, NULL, pool));
+        SVN_ERR(svn_stream_copy3(wc_stream,
+                                 svn_stream_disown(dst_stream, pool),
+                                 NULL, NULL, pool));
       *found_p = TRUE;
     }
 



Mime
View raw message