commit | e52b6e5456d82e8105a3cd18e4dfdccb776e319f | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Sep 12 20:26:43 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Sep 12 20:31:25 2020 +0200 |
tree | fd68a18fa784827c556b58a62f5a091d4491fed6 | |
parent | b53dd03dc04eb4842fd094747798ef763cd3daba [diff] |
CLEANUP: Do not use a fixed type for 'sizeof' in 'calloc' Changes performed using the following coccinelle patch: @@ type T; expression E; expression t; @@ ( t = calloc(E, sizeof(*t)) | - t = calloc(E, sizeof(T)) + t = calloc(E, sizeof(*t)) ) Looking through the commit history, grepping for coccinelle shows that the same replacement with a different patch was already performed in the past in commit 02779b6263a177b1e462e53db6eaf57bcda574bc.