fixed memory leak
Merge branch 'variant' of github.com:AndySomogyi/roadrunner into variant