mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
fix X memory leak in draw_rotate()
This commit is contained in:
parent
0753ed5fb5
commit
3f36130533
1 changed files with 1 additions and 0 deletions
1
draw.c
1
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue