You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/11/18 11:05:45 UTC

svn commit: r1770361 - /subversion/branches/authzperf/subversion/libsvn_repos/config_file.c

Author: stefan2
Date: Fri Nov 18 11:05:45 2016
New Revision: 1770361

URL: http://svn.apache.org/viewvc?rev=1770361&view=rev
Log:
On the authzperf branch: Follow-up to r1770250.

* subversion/libsvn_repos/config_file.c
  (representation_stream): Properly initialize all baton fields.

Modified:
    subversion/branches/authzperf/subversion/libsvn_repos/config_file.c

Modified: subversion/branches/authzperf/subversion/libsvn_repos/config_file.c
URL: http://svn.apache.org/viewvc/subversion/branches/authzperf/subversion/libsvn_repos/config_file.c?rev=1770361&r1=1770360&r2=1770361&view=diff
==============================================================================
--- subversion/branches/authzperf/subversion/libsvn_repos/config_file.c (original)
+++ subversion/branches/authzperf/subversion/libsvn_repos/config_file.c Fri Nov 18 11:05:45 2016
@@ -149,7 +149,7 @@ representation_stream(svn_fs_root_t *roo
   svn_stream_t *stream;
   presentation_stream_baton_t *baton;
 
-  baton = apr_palloc(pool, sizeof(*baton));
+  baton = apr_pcalloc(pool, sizeof(*baton));
   baton->root = root;
   baton->fs_path = fs_path;
   baton->pool = pool;