(xmlrpc/main.c) Fix resource leak

newmessage leaks as it goes out-of-scope