lkmpg/examples
Bob Lee 3ec01e2cf1
Fix potential reference count leak in vinput
In the export_store function, when vinput_register_vdevice fails, the
current error handling process calls device_unregister followed by
vinput_destroy_vdevice. However, the device_unregister here triggers its
release function, which already includes a call to
vinput_destroy_vdevice. As a result, vinput_destroy_vdevice is called
twice. Since vinput_destroy_vdevice contains module_put, this double
call must be avoided to prevent potential reference count issues.
2024-10-24 19:24:01 +08:00
..
2024-04-21 01:12:33 +08:00
2023-10-08 17:14:09 +08:00
2024-10-04 19:08:50 +03:00
2022-02-21 00:53:29 +08:00
2024-04-16 02:38:07 +08:00
2024-04-16 06:19:52 +08:00
2024-04-21 01:09:28 +08:00
2024-10-06 14:25:49 +08:00
2024-10-07 12:05:43 +08:00
2023-10-08 17:14:09 +08:00
2023-10-07 16:32:26 +02:00
2024-10-17 02:23:21 +08:00
2021-08-08 01:24:59 +08:00
2024-04-16 06:24:06 +08:00
2021-09-04 17:53:29 +08:00
2024-10-05 12:01:45 +08:00
2022-04-19 01:54:24 +08:00
2022-04-19 01:54:24 +08:00