diff --git a/hphp/runtime/ext/asio/reschedule_wait_handle.cpp b/hphp/runtime/ext/asio/reschedule_wait_handle.cpp index 7a2e7ece1..b13ac824d 100644 --- a/hphp/runtime/ext/asio/reschedule_wait_handle.cpp +++ b/hphp/runtime/ext/asio/reschedule_wait_handle.cpp @@ -120,8 +120,8 @@ void c_RescheduleWaitHandle::exitContext(context_idx_t ctx_idx) { } if (UNLIKELY(getState() != STATE_SCHEDULED)) { - throw new FatalErrorException( - "Invariant violation: encountered unexpected state"); + throw FatalErrorException( + "Invariant violation: encountered unexpected state"); } // move us to the parent context