Fix double free in test_shell_tests on linux with SHARED=1.
Fix double free in test_shell_tests on linux with SHARED=1.

Original patch by Craig Schlenter at:
http://codereview.chromium.org/17233

Review URL: http://codereview.chromium.org/21103


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

Former-commit-id: d1f699a01ddb9170f8849d0c23b235689a337167
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