X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fnetconfig.c;fp=citadel%2Fnetconfig.c;h=f09c852fd32a3786ac5cc1f15c35c4e6fcbde087;hp=8afd22a4bf440539f4cc9e78f92d8c4c3ab03f5d;hb=0d309c3f9280c215677530e59f68c8c149fd65ce;hpb=eade1ff7a96d62e0c50e5dc26b1d5bf85e1666cd diff --git a/citadel/netconfig.c b/citadel/netconfig.c index 8afd22a4b..f09c852fd 100644 --- a/citadel/netconfig.c +++ b/citadel/netconfig.c @@ -1174,11 +1174,11 @@ void destroy_network_cfgs(void) HashList *pCfgTypeHash = CfgTypeHash; HashList *pRoomConfigs = RoomConfigs; - CfgTypeHash = NULL; RoomConfigs = NULL; - - DeleteHash(&pCfgTypeHash); DeleteHash(&pRoomConfigs); + + CfgTypeHash = NULL; + DeleteHash(&pCfgTypeHash); } /*