fix X memory leak in draw_rotate()

This commit is contained in:
Julien Danjou 2007-11-11 22:38:29 +01:00
parent 0753ed5fb5
commit 3f36130533

1
draw.c
View file

@ -148,6 +148,7 @@ draw_rotate(Display *disp, int screen, Drawable drawable, int dw, int dh, double
cairo_destroy(cr);
cairo_surface_destroy(source);
cairo_surface_destroy(surface);
return newdrawable;
}