commit | 5192595cae5d46abd4213e0913982fddcaa23703 | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Sat Jan 22 00:11:28 2005 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Sat Jan 22 00:11:28 2005 +0000 |
tree | b3a857a215043ed9e9255731e9d6538a26086240 | |
parent | 8ac58635e72aab640bd0163cb086bc03cbf3aabf [diff] [blame] |
oops, allocating invalid amount of memory. git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@608 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/ANY.c b/skeletons/ANY.c index 4c51963..54cc9a7 100644 --- a/skeletons/ANY.c +++ b/skeletons/ANY.c
@@ -100,7 +100,7 @@ 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;