diff --git a/runtime/rastrace/trcmain.c b/runtime/rastrace/trcmain.c index 95d9ce89e1c..58e6025504c 100644 --- a/runtime/rastrace/trcmain.c +++ b/runtime/rastrace/trcmain.c @@ -1053,6 +1053,7 @@ initializeTrace(UtThreadData **thr, void **gbl, } else { /* the old utGlobal is still in use */ UT_DBGOUT(1, (" Error, utGlobal already in use.\n")); + *thr = NULL; return OMR_ERROR_INTERNAL; } }