diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-08-16 17:05:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-11 15:29:00 -0300 |
commit | f4e4a67a37e7c9624b3e8bb9655db2ae45243f3d (patch) | |
tree | 30e1f24316cf86df11f4d95ceca0f46f29091e73 /Documentation/iostats.txt | |
parent | 4b83a7a75375f9d5edd1fb0067986a0f23695ddd (diff) | |
download | op-kernel-dev-f4e4a67a37e7c9624b3e8bb9655db2ae45243f3d.zip op-kernel-dev-f4e4a67a37e7c9624b3e8bb9655db2ae45243f3d.tar.gz |
[media] ddbridge: fix error handling in module_init_ddbridge()
If pci_register_driver() failed, resources allocated in
ddb_class_create() are leaked. The patch fixes it
as well as it replaces -1 with correct error code
in ddb_class_create().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/iostats.txt')
0 files changed, 0 insertions, 0 deletions