summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/boxes.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/gtklib/boxes.c')
-rw-r--r--app/wlib/gtklib/boxes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/wlib/gtklib/boxes.c b/app/wlib/gtklib/boxes.c
index cce6649..cf419e6 100644
--- a/app/wlib/gtklib/boxes.c
+++ b/app/wlib/gtklib/boxes.c
@@ -129,6 +129,7 @@ void wlibDrawBox(
cairo_stroke_preserve(cr);
if (style < wBoxThickB) {
+ cairo_destroy(cr);
return;
}