d5110194a5
- fixed the building on 9+ - clean-up patches PR: 167724 Submitted by: Masamichi Takatsu <taka2@doga.co.jp>
19 lines
393 B
C
19 lines
393 B
C
--- font/fontx2.c.orig 1997-01-24 19:08:56.000000000 +0900
|
|
+++ font/fontx2.c 2012-05-10 00:14:28.719647899 +0900
|
|
@@ -37,6 +37,7 @@
|
|
#include <string.h>
|
|
#include <sys/socket.h>
|
|
|
|
+#include <defs.h>
|
|
#include <interface.h>
|
|
#include <fnld.h>
|
|
|
|
@@ -170,7 +171,7 @@
|
|
font = FontLoadSFontx(fp, header);
|
|
else exit(0);
|
|
}
|
|
- free(header);
|
|
+ SafeFree(header);
|
|
return(font);
|
|
}
|
|
|