Skip to content
Permalink
Browse files

Destroy the childs Param and Panicstr VSMs properly

  • Loading branch information...
bsdphk committed Aug 8, 2019
1 parent 17b30b6 commit 9bf8ee9ce4d70d12f4fd8439dcb16d41037fc266
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/varnishd/mgt/mgt_shmem.c
@@ -142,6 +142,6 @@ mgt_SHM_ChildDestroy(void)
AZ(system("rm -rf " VSM_CHILD_DIRNAME));
VJ_master(JAIL_MASTER_LOW);
}
heritage.panic_str = NULL;
heritage.param = NULL;
VSMW_Free(mgt_vsmw, (void**)&heritage.panic_str);
VSMW_Free(mgt_vsmw, (void**)&heritage.param);
}

0 comments on commit 9bf8ee9

Please sign in to comment.
You can’t perform that action at this time.