oops, allocating invalid amount of memory.

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@608 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2005-01-22 00:11:28 +00:00
parent 8ac58635e7
commit 5192595cae
1 changed files with 1 additions and 1 deletions

View File

@ -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;