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.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion