subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1485007 - /subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c
Date Tue, 21 May 2013 22:57:24 GMT
Author: gbg
Date: Tue May 21 22:57:23 2013
New Revision: 1485007

URL: http://svn.apache.org/r1485007
Log:
On the invoke-diff-cmd branch: Repair erroneous initialization.

* subversion/svn/io.c

  (svn_io_run_external_diff): Change pcalloc to palloc call.

Modified:
    subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c

Modified: subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c?rev=1485007&r1=1485006&r2=1485007&view=diff
==============================================================================
--- subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c (original)
+++ subversion/branches/invoke-diff-cmd-feature/subversion/libsvn_subr/io.c Tue May 21 22:57:23
2013
@@ -3036,7 +3036,7 @@ svn_io_run_external_diff(const char *dir
        for (i = 0, size = 0; cmd[i]; i++) 
          size += strlen(cmd[i]) + 1;
 
-       failed_command = apr_pcalloc(pool, size * sizeof(char *));
+       failed_command = apr_palloc(pool, size * sizeof(char *));
 
        for (i = 0; cmd[i]; i++) 
         {



Mime
View raw message