mpm/hs: improve pointer hygene

pull/10134/head
Victor Julien 2 years ago committed by Victor Julien
parent 11bf60aa3a
commit aad403d87d

@ -873,6 +873,7 @@ void SCHSDestroyCtx(MpmCtx *mpm_ctx)
SCMutexUnlock(&g_db_table_mutex); SCMutexUnlock(&g_db_table_mutex);
SCFree(mpm_ctx->ctx); SCFree(mpm_ctx->ctx);
mpm_ctx->ctx = NULL;
mpm_ctx->memory_cnt--; mpm_ctx->memory_cnt--;
mpm_ctx->memory_size -= sizeof(SCHSCtx); mpm_ctx->memory_size -= sizeof(SCHSCtx);
} }

Loading…
Cancel
Save