clients/view: Fix memory leak

dev
Tim Wiederhake 14 years ago committed by Kristian Høgsberg
parent 6685aceae3
commit 80bf6f78e4
  1. 1
      clients/view.c

@ -101,6 +101,7 @@ view_draw(struct view *view)
cairo_fill(cr);
poppler_page_render(page, cr);
cairo_destroy(cr);
cairo_surface_destroy(surface);
g_object_unref(G_OBJECT(page));
window_flush(view->window);
}

Loading…
Cancel
Save