Fixed mem leak if realloc fails
Merge branch 'master' into IPCConfigSend