mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
Kernel: Stop allocating the PS2KeyboardDevice in the eternal heap
The PS2KeyboardDevice can be free'd in try_to_initialize if the initialization failed, resulting in an assertion.
This commit is contained in:
parent
59fec42a25
commit
df7d938808
|
@ -21,7 +21,6 @@ namespace Kernel {
|
|||
class PS2KeyboardDevice final : public IRQHandler
|
||||
, public KeyboardDevice
|
||||
, public I8042Device {
|
||||
AK_MAKE_ETERNAL
|
||||
public:
|
||||
static RefPtr<PS2KeyboardDevice> try_to_initialize(const I8042Controller&);
|
||||
virtual ~PS2KeyboardDevice() override;
|
||||
|
|
Loading…
Reference in a new issue