commit | e6c04507d8df96b15794a4c4dc782a376c0f3051 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Oct 23 19:53:35 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 28 09:45:48 2021 +0200 |
tree | 22902a8a71fbec40a5bec48ff19a7dacddc7d98e | |
parent | e0c1d749a8412b95d417d431e540ae31ceb8924d [diff] |
DEV: coccinelle: Add realloc_leak.cocci 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`.