mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 06:24:56 +00:00
e6c04507d8
This coccinelle patch finds locations where the return value of `realloc()` is assigned to the pointer passed to `realloc()`. This calls will leak memory if `realloc()` returns `NULL`.
7 lines
56 B
Plaintext
7 lines
56 B
Plaintext
@@
|
|
expression E;
|
|
expression F;
|
|
@@
|
|
|
|
* E = realloc(E, F);
|