diff options
-rw-r--r-- | fref.lex | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ pf(char *fmt, ...) if(*p == '%' || *p == '*') n++; - if(!(fs = malloc(n))) + if(!(fs = malloc(sizeof(char *)*n))) err(1, "malloc"); /* |
index : fref | |
reference formatter for troff | Git |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | fref.lex | 2 |
@@ -295,7 +295,7 @@ pf(char *fmt, ...) if(*p == '%' || *p == '*') n++; - if(!(fs = malloc(n))) + if(!(fs = malloc(sizeof(char *)*n))) err(1, "malloc"); /* |