pespin submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
tests: Use mem alloc macro instead of direct calloc() call
This way we make sure the proper function to alloc is called.
Change-Id: Ia9c7cf1f958f273dd7a5e23cf7633e45fa9d577f
---
M tests/parse/tcap_parse_test.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/parse/tcap_parse_test.c b/tests/parse/tcap_parse_test.c
index 6a52cea..0f44963 100644
--- a/tests/parse/tcap_parse_test.c
+++ b/tests/parse/tcap_parse_test.c
@@ -30,7 +30,7 @@
{
asn_dec_rval_t rc;
struct TCAP_TCMessage *tcapmsg;
- tcapmsg = calloc(1, sizeof(*tcapmsg));
+ tcapmsg = CALLOC(1, sizeof(*tcapmsg));
printf("Basic TCAP decode testing.\n");
To view, visit change 42218. To unsubscribe, or for help writing mail filters, visit settings.