Fix a memory management bug in the RA compatibility layer which triggered random callback table corruption when the legacy API is used.
Fix a memory management bug in the RA compatibility layer which
triggered random callback table corruption when the legacy API is
used.

* subversion/libsvn_ra/wrapper_template.h
  (compat_open): Allocate *callbacks2 in pool instead of defining a
    local callbacks2 structure.


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

YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion