(xmlrpc/main.c) Fix resource leak

newmessage leaks as it goes out-of-scope
Merge pull request #285 from partedcloud/patch-4

(xmlrpc/main.c) Fix resource leak