[NTOS:FSRTL] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 16:59:36 +0000 (18:59 +0200)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 7 Apr 2019 17:28:18 +0000 (19:28 +0200)
We're already using SEH2 macros, so also use SEH2 functions

ntoskrnl/fsrtl/oplock.c

index 7ab457d..f89adc4 100644 (file)
@@ -566,7 +566,7 @@ FsRtlAllocateOplock(VOID)
     _SEH2_FINALLY
     {
         /* In case of abnormal termination, it means either OPLOCK or FAST_MUTEX allocation failed */
-        if (_abnormal_termination())
+        if (_SEH2_AbnormalTermination())
         {
             /* That FAST_MUTEX, free OPLOCK */
             if (Oplock != NULL)