]> git.eshelyaron.com Git - emacs.git/commitdiff
Free unneeded context
authorYuuki Harano <masm+github@masm11.me>
Mon, 11 Jan 2021 10:55:40 +0000 (19:55 +0900)
committerYuuki Harano <masm+github@masm11.me>
Mon, 11 Jan 2021 10:55:40 +0000 (19:55 +0900)
* src/pgtkterm.c (pgtk_flash): Free unneeded cairo_t.

src/pgtkterm.c

index f67d5098da344bd14f7c8bf8008a2a5ad41b4784..00381671f2147d6ba41978ed1ab687565e4982ed 100644 (file)
@@ -3770,6 +3770,8 @@ pgtk_flash (struct frame *f)
 
 #undef XFillRectangle
     }
+
+    cairo_destroy (cr);
   }
 
   unblock_input ();