Commit 40fecb00 authored by Lev Walkin's avatar Lev Walkin

oops, allocating invalid amount of memory.

parent e63178f2
......@@ -100,7 +100,7 @@ ANY_new_fromType(asn_TYPE_descriptor_t *td, void *sptr) {
if(ANY_fromType(&tmp, td, sptr)) return 0;
st = (ANY_t *)CALLOC(1, sizeof(ANY_t *));
st = (ANY_t *)CALLOC(1, sizeof(ANY_t));
if(st) {
*st = tmp;
return st;
......
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