[CMLIB]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 28 Jun 2015 15:41:18 +0000 (15:41 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 28 Jun 2015 15:41:18 +0000 (15:41 +0000)
commit2423b35126641971523e63c6ac6888b297e19f5a
tree0df5b7cf7d67d1cd3ddfdd723e5549390eb828f3
parentfbff7e0e47c120917b142224af19df0afbb171dc
[CMLIB]
HvFree:
- Free the BaseBlock.
- Do not free the hive itself because the HHIVE is part of the CMHIVE structure and freeing it here could be an unpleasant surprise.

[NTOSKRNL]
CmpDestroyHive: Free the CMHIVE after calling HvFree.
CmUnloadKey: Free the hive storage, the hive locks and the CMHIVE properly.

svn path=/trunk/; revision=68303
reactos/lib/cmlib/hiveinit.c
reactos/ntoskrnl/config/cmapi.c
reactos/ntoskrnl/config/cminit.c