Delete gm after use.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 16 Apr 2013 19:11:14 +0000 (19:11 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 16 Apr 2013 19:11:14 +0000 (19:11 +0000)
commit7fd2d70ad39661588de5910abe1006e073419f20
tree7b78e2ec06a5afcdd4a9b4d4cc139edb5f50aa42
parent8f6f67efb67d73dbd91d0630b0da647b55b0a4a9
Delete gm after use.

Fixes a memory leak when using the --modulo flag. Instead of deleting
manually in each case we are done with it (which led to missing one
case), use an SkAutoTDelete.

Review URL: https://codereview.chromium.org/13929019

git-svn-id: http://skia.googlecode.com/svn/trunk@8707 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/gmmain.cpp