Follow up to r1330410: Fix a potential pipe leak.
Follow up to r1330410: Fix a potential pipe leak.

* subversion/libsvn_repos/hooks.c
  (run_hook_cmd): Always try to close the stdout pipe of the subprocess if
    it was opened. While here, fix space-before-paren.


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

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