hpcc-systems/HPCC-Platform — pull request #3282 by RussWhitehead (2012-08-30 18:45:47+00:00)
Title: gh-3281 Fix for exception thrown in helper

Helper is releasing the string returned from agent context getPlatform(),
causing an exception. This fix returns a strcpy of that string (and caches
in case getPlatform is called again later) so the caller can take ownership
and later release it.

Signed-off-by: William Whitehead