When logging to a RemoteSyslogAppender, it dumps
core when logging around 850ish bytes. This only
happens for a window of around 5 bytes or length,
logging more than that is fine.
This patch fixes this, and adds a  to the delete
statement for freeing the buffer, although this appears
to work on both NT/2000 and x86 Linux, it might cause
failures on other platforms.