In ra_serf: cleanup the xml parser via pool cleanup to avoid leaking the memory used by the parser on errors and when cancelling the operation.
In ra_serf: cleanup the xml parser via pool cleanup to avoid leaking the memory
used by the parser on errors and when cancelling the operation.

* subversion/libsvn_ra_serf/util.c
  (xml_parser_cleanup): New function.
  (svn_ra_serf__process_pending): Cleanup the parser via the pool cleanup.
  (svn_ra_serf__handle_xml_parser): Register pool cleanup handler when creating
    the parser. If done cleanup the parser via pool cleanup.


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

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