mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
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`.
6 lines
56 B
Text
6 lines
56 B
Text
@@
|
|
expression E;
|
|
expression F;
|
|
@@
|
|
|
|
* E = realloc(E, F);
|