diff --git a/draw.c b/draw.c index f84e30110..dc66614bd 100644 --- a/draw.c +++ b/draw.c @@ -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; }