Fix memory leak in webRequest API in case of invalid parameters


BUG=CID 102461
TEST=no


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111780 0039d316-1c4b-4281-b951-d872f2087c98