destroy cairo instance as well

pull/37/head
brueggemann 2015-10-07 18:28:10 +02:00
parent ac9618b4b5
commit b9d6587721
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ int main(int argc, char *argv[]) {
(double)last_resolution[1] / (double)img_height);
cairo_set_source_surface(cr, unscaled_img, 0, 0);
cairo_paint(cr);
cairo_destroy(cr);
cairo_surface_destroy(unscaled_img);
}