diff options
author | 2017-05-09 17:51:30 -0700 | |
---|---|---|
committer | 2017-05-10 14:39:34 -0700 | |
commit | c3f6f8612bdab5959950a58291bd61d1d42d996b (patch) | |
tree | 05312fe544d46f3b9edc25b12088e967b1f4de8e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Input: use seq_puts() in input_devices_seq_show() (diff) | |
download | wireguard-linux-c3f6f8612bdab5959950a58291bd61d1d42d996b.tar.xz wireguard-linux-c3f6f8612bdab5959950a58291bd61d1d42d996b.zip |
Input: switch to using sizeof(*type) when allocating memory
Instead of specifying type explicitly, derive it from the type of pointer
when allocating memory, which is considered safer practice.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions