1 // Use calloc or realloc as appropriate instead of multiply-and-alloc
4 identifier f =~ "(tor_malloc|tor_malloc_zero)";
15 - tor_calloc(sizeof(t), a)
16 + tor_calloc(a, sizeof(t))
18 @realloc_to_reallocarray@
22 - tor_realloc(p, a * b)
23 + tor_reallocarray(p, a, b)