Tighten memory usage in FSX' svn_fs_dir_entries implementation.
Tighten memory usage in FSX' svn_fs_dir_entries implementation.

* subversion/libsvn_fs_x/tree.c
  (x_dir_entries): Introduce a SCRATCH_POOL and fetch the directory in its
                   FSX-private format using that pool.  Return a deep copy
                   of it in the FS API format.  Once the function returns,
                   the caller-provided pool will contain no lingering
                   internal / temporary data structures.

git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1652681 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion