Fix memory leak when simulating failures in unit tests.
Fix memory leak when simulating failures in unit tests.

git-svn-id: http://src.chromium.org/svn/trunk/src@146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 6cdfb4f327fb6ef10402235b7ccb58dd9a74622c
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser