From 064e81a6a91baaa44dae9ceee1930d5226197dd9 Mon Sep 17 00:00:00 2001 From: claudiol Date: Fri, 29 Dec 2017 08:56:40 -0500 Subject: [PATCH] Fixed error handling. --- newrpl/lib-52-matrix.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/newrpl/lib-52-matrix.c b/newrpl/lib-52-matrix.c index 2ad4f92..04a4c82 100644 --- a/newrpl/lib-52-matrix.c +++ b/newrpl/lib-52-matrix.c @@ -2096,6 +2096,12 @@ void LIB_HANDLER() case DOMATERR: { + // SAME PROCEDURE AS ENDERR + rplRemoveExceptionHandler(); + rplPopRet(); + rplUnprotectData(); + rplRemoveExceptionHandler(); + // JUST CLEANUP AND EXIT DSTop=rplUnprotectData(); rplCleanupLAMs(0);