commit | 04ca1b52933374569a044db039e0249d41748ba5 | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Wed Oct 18 00:27:35 2017 -0700 |
committer | Lev Walkin <vlm@lionet.info> | Wed Oct 18 00:27:35 2017 -0700 |
tree | 59175290c0b76bc271459fd6bed30eb314000e71 | |
parent | af51eafe31649510f67c6adf5fc5dadb7a854b58 [diff] |
typo fix
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c index 63648cd..eb84993 100644 --- a/libasn1compiler/asn1c_C.c +++ b/libasn1compiler/asn1c_C.c
@@ -2466,7 +2466,7 @@ OUT("\tFREEMEM(st->buf);\n"); OUT("} else {\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("st->buf = nstr;\n"); OUT("st->size = sizeof(defv) - 1;\n");