diff options
Diffstat (limited to 'src/libs/engine/events/DestroyEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DestroyEvent.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp index d2b2d42b..4f2cba3f 100644 --- a/src/libs/engine/events/DestroyEvent.cpp +++ b/src/libs/engine/events/DestroyEvent.cpp @@ -199,8 +199,7 @@ DestroyEvent::post_process() _responder->respond_error("Unable to destroy object"); } - if (_driver_port) - delete _driver_port; + delete _driver_port; } |