Fixed PHP-1278: runcommand memory leak