11 lines
186 B
Diff
11 lines
186 B
Diff
|
--- chkfont.c
|
||
|
+++ chkfont.c
|
||
|
@@ -68,6 +68,7 @@
|
||
|
ptr=(char *)malloc(size);
|
||
|
if (ptr==NULL) {
|
||
|
fprintf(stderr,"%s: Out of memory\n",myname);
|
||
|
+ return(NULL);
|
||
|
}
|
||
|
else {
|
||
|
return(ptr);
|