diff --git a/cmRtNet.c b/cmRtNet.c index fe95792..2216c06 100644 --- a/cmRtNet.c +++ b/cmRtNet.c @@ -835,9 +835,11 @@ void cmRtNetTest( cmCtx_t* ctx, bool mstrFl ) errLabel: + cmThreadDestroy(&p->thH); + cmRtNetFree(&p->netH); - cmThreadDestroy(&p->thH); + return; }