This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/char
Jiri Slaby 22e132ff26 Char: virtio_console, fix memory leak
Stanse found that in init_vqs, memory is leaked under certain
circumstanses (the fail path order is incorrect). Fix that by checking
allocations in one turn and free all of them at once if some fails
(some may be NULL, but this is OK).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Amit Shah <amit.shah@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-11-24 15:21:12 +10:30
..
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:40 -07:00
2010-10-14 14:48:12 -04:00
2010-08-10 13:47:40 -07:00
2010-10-22 10:20:02 -07:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:40 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:02 -07:00