diff options
author | Andre Edich <andre.edich@microchip.com> | 2020-07-06 11:39:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-06 22:22:24 +0300 |
commit | 3ed58f96a70b85ef646d5427258f677f1395b62f (patch) | |
tree | b173462751b8ddd618c34c8ca6c6f17127fe6d01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7c8b1e855f94f88a0c569be6309fc8d5c8844cd1 (diff) | |
download | linux-3ed58f96a70b85ef646d5427258f677f1395b62f.tar.xz |
smsc95xx: avoid memory leak in smsc95xx_bind
In a case where the ID_REV register read is failed, the memory for a
private data structure has to be freed before returning error from the
function smsc95xx_bind.
Fixes: bbd9f9ee69242 ("smsc95xx: add wol support for more frame types")
Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions