subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1770361 - /subversion/branches/authzperf/subversion/libsvn_repos/config_file.c
Date Fri, 18 Nov 2016 11:05:45 GMT
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;



Mime
View raw message