diff --git a/skeletons/ANY.c b/skeletons/ANY.c
index 4c51963b096c0129afa4bff5936fbd123d2ff12b..54cc9a78116e88ef5916bea22088327fc64299a7 100644
--- a/skeletons/ANY.c
+++ b/skeletons/ANY.c
@@ -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;