]> granicus.if.org Git - graphviz/commitdiff
Pango plugin: remove unused 'NEW'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Jul 2022 16:28:47 +0000 (09:28 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Aug 2022 01:01:38 +0000 (18:01 -0700)
plugin/pango/gvgetfontlist_pango.c

index b51c29e8804625605eeade3be57f4858d68523c5..385157b6507954f1814129fdd0aa3e81f91a1ccd 100644 (file)
@@ -243,8 +243,6 @@ typedef struct {
     int faces;
 } availfont_t;
 
-#define NEW(t)          malloc(sizeof(t))
-
 static PostscriptAlias postscript_alias[] = {
 #include "ps_font_equiv.h"
 };