You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2013/02/15 20:45:17 UTC

svn commit: r1446745 - /subversion/trunk/subversion/svn/svn.c

Author: julianfoad
Date: Fri Feb 15 19:45:16 2013
New Revision: 1446745

URL: http://svn.apache.org/r1446745
Log:
* subversion/svn/svn.c
  (sub_main): Fix a seg-fault on reporting a 'changelist cannot be empty'
    error, which was due to trying to destroy the main pool twice.

Modified:
    subversion/trunk/subversion/svn/svn.c

Modified: subversion/trunk/subversion/svn/svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1446745&r1=1446744&r2=1446745&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Fri Feb 15 19:45:16 2013
@@ -2123,7 +2123,7 @@ sub_main(int argc, const char *argv[], a
           {
             err = svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
                                    _("Changelist names must not be empty"));
-            return svn_cmdline_handle_exit_error(err, pool, "svn: ");
+            return EXIT_ERROR(err);
           }
         apr_hash_set(changelists, opt_state.changelist,
                      APR_HASH_KEY_STRING, (void *)1);