1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2@@
3expression q, p, n, m;
4@@
5- q = realloc(p, (n)*(m))
6+ q = reallocarray(p, n, m)
7@@
8expression q, p, n, m;
9@@
10- q = realloc(p, n*(m))
11+ q = reallocarray(p, n, m)
12@@
13expression q, p, n, m;
14@@
15- q = realloc(p, (n)*m)
16+ q = reallocarray(p, n, m)
17@@
18expression q, p, n, m;
19@@
20- q = realloc(p, n*m)
21+ q = reallocarray(p, n, m)
22