diff options
| author | Dan Carpenter <[email protected]> | 2016-11-24 11:20:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-26 01:29:48 +0000 |
| commit | 1f1e70efe53c01844ce76d77c3383c2bcb6beb49 (patch) | |
| tree | a75299efb444c275514d8853c9c88b8853b4e261 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | net: ethtool: don't require CAP_NET_ADMIN for ETHTOOL_GLINKSETTINGS (diff) | |
| download | kernel-1f1e70efe53c01844ce76d77c3383c2bcb6beb49.tar.gz kernel-1f1e70efe53c01844ce76d77c3383c2bcb6beb49.zip | |
fsl/fman: fix a leak in tgec_free()
We set "tgec->cfg" to NULL before passing it to kfree(). There is no
need to set it to NULL at all. Let's just delete it.
Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
