pmlogrewrite/util.c - resource_leak Original Coverity cases #209, #215 and #228 http://people.redhat.com/mgoodwin/pcp-cov/1/209util.c.html#error http://people.redhat.com/mgoodwin/pcp-cov/1/215util.c.html#error http://people.redhat.com/mgoodwin/pcp-cov/1/228util.c.html#error
pmlogrewrite/util.c - resource_leak
Original Coverity cases #209, #215 and #228
http://people.redhat.com/mgoodwin/pcp-cov/1/209util.c.html#error
http://people.redhat.com/mgoodwin/pcp-cov/1/215util.c.html#error
http://people.redhat.com/mgoodwin/pcp-cov/1/228util.c.html#error

Add missing free() calls for locally malloc'd storage, and closedir()
at end of loop.

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