Fixed memory leaks when requesting an object through debugging.
Merged pull request #121
Merge branch 'xdebug_2_2'