fix mamapublisherc SEGV on exit
fix mamapublisherc SEGV on exit

Signed-off-by: Chris Morgan <fb64b98aaa08dc5febcfd34fcbac522068b4c667@solacesystems.com>

fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA