Commit 04ca1b52 authored by Lev Walkin's avatar Lev Walkin

typo fix

parent af51eafe
...@@ -2466,7 +2466,7 @@ try_inline_default(arg_t *arg, asn1p_expr_t *expr, int out) { ...@@ -2466,7 +2466,7 @@ try_inline_default(arg_t *arg, asn1p_expr_t *expr, int out) {
OUT("\tFREEMEM(st->buf);\n"); OUT("\tFREEMEM(st->buf);\n");
OUT("} else {\n"); OUT("} else {\n");
OUT("\tst = (*sptr = CALLOC(1, sizeof(*st)));\n"); OUT("\tst = (*sptr = CALLOC(1, sizeof(*st)));\n");
OUT("\tif(!st) { FREEMEM(nptr); return -1; }\n"); OUT("\tif(!st) { FREEMEM(nstr); return -1; }\n");
OUT("}\n"); OUT("}\n");
OUT("st->buf = nstr;\n"); OUT("st->buf = nstr;\n");
OUT("st->size = sizeof(defv) - 1;\n"); OUT("st->size = sizeof(defv) - 1;\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment