projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NETCFG: first free the configs, then the infrastructure needed to free them.
[citadel.git]
/
citadel
/
netconfig.c
diff --git
a/citadel/netconfig.c
b/citadel/netconfig.c
index 8afd22a4bf440539f4cc9e78f92d8c4c3ab03f5d..f09c852fd32a3786ac5cc1f15c35c4e6fcbde087 100644
(file)
--- 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);
}
/*