You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by pb...@apache.org on 2012/08/28 17:02:57 UTC

svn commit: r1378160 - /subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c

Author: pburba
Date: Tue Aug 28 15:02:57 2012
New Revision: 1378160

URL: http://svn.apache.org/viewvc?rev=1378160&view=rev
Log:
On the inheritable-props branch: Fix a segfault.

* subversion/svn/proplist-cmd.c
  (proplist_receiver): Move destruction of iterpool to correct outer block.


Modified:
    subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c

Modified: subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c?rev=1378160&r1=1378159&r2=1378160&view=diff
==============================================================================
--- subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c (original)
+++ subversion/branches/inheritable-props/subversion/svn/proplist-cmd.c Tue Aug 28 15:02:57 2012
@@ -161,8 +161,8 @@ proplist_receiver(void *baton,
 
           SVN_ERR(svn_cl__print_prop_hash(NULL, iprop->prop_hash,
                                           (! opt_state->verbose), iterpool));
-          svn_pool_destroy(iterpool);
         }
+      svn_pool_destroy(iterpool);
     }
 
   if (prop_hash && apr_hash_count(prop_hash))