tests: Fix a memory leak
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 25 May 2012 20:00:38 +0000 (16:00 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 25 May 2012 20:36:46 +0000 (16:36 -0400)
commit9d9000cfd77bec72b39ee6fd1b4f8893c56bb27b
treef2806c5c8f7fda7023138588595eb0dc04edca20
parenta7bfba3ecef5d821fb14a9723746fde9665e1f38
tests: Fix a memory leak

We need to unref the cairo surface here, as we are making the context
be the sole owner of it.

https://bugzilla.gnome.org/show_bug.cgi?id=671687
tests/scanner/regress.c