summaryrefslogtreecommitdiff
path: root/japanese/kon2-16dot/files/patch-font_fontx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/kon2-16dot/files/patch-font_fontx2.c')
-rw-r--r--japanese/kon2-16dot/files/patch-font_fontx2.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/kon2-16dot/files/patch-font_fontx2.c b/japanese/kon2-16dot/files/patch-font_fontx2.c
new file mode 100644
index 000000000000..0acd90f49c0c
--- /dev/null
+++ b/japanese/kon2-16dot/files/patch-font_fontx2.c
@@ -0,0 +1,19 @@
+ --- font/fontx2.c 30 Sep 2008 08:02:59 -0000 1.1.1.1
+ +++ font/fontx2.c 23 Oct 2008 09:24:33 -0000
+ @@ -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);
+ }
+