commit | cb722aeddcfdab852a06a0477ac197174ea44051 | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | Thu Sep 06 11:18:47 2018 +0200 |
committer | Felix Fietkau <nbd@nbd.name> | Wed Sep 19 12:31:04 2018 +0200 |
tree | 0dbb60e01aaad98a8f111c9761da51cca55a613b | |
parent | d1b6eec235972e11da3564c4b55cb2b2b30d19bb [diff] |
mt76x0: fix memory leak during hw probe Fix memory leak during hw probe if mt76x0_register_device fails since MT76_STATE_INITIALIZED has not set yet and mt76x0_cleanup does not free tx/rx queues and mcu buffers Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>