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 2014/03/24 12:06:05 UTC

svn commit: r1580816 - /subversion/trunk/subversion/libsvn_ra/ra_loader.c

Author: stsp
Date: Mon Mar 24 11:06:05 2014
New Revision: 1580816

URL: http://svn.apache.org/r1580816
Log:
* subversion/libsvn_ra/ra_loader.c
  (svn_ra_stat): Use the proper size for an allocation of svn_dirent_t.

Modified:
    subversion/trunk/subversion/libsvn_ra/ra_loader.c

Modified: subversion/trunk/subversion/libsvn_ra/ra_loader.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra/ra_loader.c?rev=1580816&r1=1580815&r2=1580816&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra/ra_loader.c (original)
+++ subversion/trunk/subversion/libsvn_ra/ra_loader.c Mon Mar 24 11:06:05 2014
@@ -1036,7 +1036,7 @@ svn_error_t *svn_ra_stat(svn_ra_session_
                  but we can still get the information we want.
                  The created-rev of the repository root must, by definition,
                  be rev. */
-              *dirent = apr_pcalloc(pool, sizeof(*dirent));
+              *dirent = apr_pcalloc(pool, sizeof(**dirent));
               (*dirent)->kind = kind;
               (*dirent)->size = SVN_INVALID_FILESIZE;