]> code.delx.au - gnu-emacs/blobdiff - src/ftxfont.c
Merge from emacs-24
[gnu-emacs] / src / ftxfont.c
index 9fe4d41dcc521ffb6b710cd1e62f4d86a4f5ef83..6ebe0798b4e3cace652c6b298707f33c422d8a9a 100644 (file)
@@ -90,7 +90,7 @@ ftxfont_get_gcs (FRAME_PTR f, long unsigned int foreground, long unsigned int ba
        }
     }
 
-  new = malloc (sizeof (struct ftxfont_frame_data));
+  new = malloc (sizeof *new);
   if (! new)
     return NULL;
   new->next = this;