diff options
Diffstat (limited to 'Kernel/Devices/Device.h')
-rw-r--r-- | Kernel/Devices/Device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/Device.h b/Kernel/Devices/Device.h index 1ef8bcfa89..b97ed35b25 100644 --- a/Kernel/Devices/Device.h +++ b/Kernel/Devices/Device.h @@ -75,7 +75,7 @@ public: { ScopedSpinLock lock(m_requests_lock); was_empty = m_requests.is_empty(); - m_requests.append(request); + m_requests.append(RefPtr<AsyncDeviceRequest>(request)); } if (was_empty) request->do_start({}); |