Fix memory leak in pmcd DoFetch error path
Fix memory leak in pmcd DoFetch error path

Original report and fixes reviewed by Florian Weimer of the Red Hat
Security team.  Red Hat bugzilla bug #841298.

Security advisory CVE-2012-3420.

edwardt/pcp,mbaldessari/pcp,prasincs/pcp,mbaldessari/pcp,aeg-aeg/pcpfans,edwardt/pcp,ryandoyle/pcp_original,mbaldessari/pcp,andyvand/cygpcpfans,aeg-aeg/pcpfans,edwardt/pcp,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,adfernandes/pcp,andyvand/cygpcpfans,prasincs/pcp,tjanez/pcp,edwardt/pcp,adfernandes/pcp,prasincs/pcp,prasincs/pcp,ryandoyle/pcp_original,andyvand/cygpcpfans,wuliming/pcp,prasincs/pcp,andyvand/cygpcpfans,wuliming/pcp,mbaldessari/pcp,tjanez/pcp,tjanez/pcp,tjanez/pcp,adfernandes/pcp,ryandoyle/pcp_original,edwardt/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,tjanez/pcp,edwardt/pcp,adfernandes/pcp,mbaldessari/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,tjanez/pcp,ryandoyle/pcp_original,mbaldessari/pcp,ryandoyle/pcp_original,andyvand/cygpcpfans,andyvand/cygpcpfans,wuliming/pcp,edwardt/pcp,wuliming/pcp,andyvand/cygpcpfans,prasincs/pcp,prasincs/pcp,tjanez/pcp,ryandoyle/pcp_original,edwardt/pcp,adfernandes/pcp,prasincs/pcp,ryandoyle/pcp_original,adfernandes/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,aeg-aeg/pcpfans,adfernandes/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,tjanez/pcp