diff options
Diffstat (limited to 'include/asn1c')
-rw-r--r-- | include/asn1c/asn_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asn1c/asn_internal.h b/include/asn1c/asn_internal.h index 47f9930..c03dc6b 100644 --- a/include/asn1c/asn_internal.h +++ b/include/asn1c/asn_internal.h @@ -27,7 +27,7 @@ int get_asn1c_environment_version(void); /* Run-time version */ extern void *talloc_asn1_ctx; -#define CALLOC(nmemb, size) talloc_size(talloc_asn1_ctx, (nmemb) * (size)) +#define CALLOC(nmemb, size) talloc_zero_size(talloc_asn1_ctx, (nmemb) * (size)) #define MALLOC(size) talloc_size(talloc_asn1_ctx, size) #define REALLOC(oldptr, size) talloc_realloc_size(talloc_asn1_ctx, oldptr, size) #define FREEMEM(ptr) talloc_free(ptr) |