Description
Using full leak check in valgrind, was found out that 1300 bytes of data were leaked
To Reproduce
Command used
$ valgrind --leak-check all ./hash_dumper --sam hives/sam --system hives/system
Expected behavior
Expected to free all used memory
Solution
Create deletion functions for core structures of hive and create end label in every function where will be full cleanup, than on error just goto label
Description
Using full leak check in valgrind, was found out that 1300 bytes of data were leaked
To Reproduce
Command used
Expected behavior
Expected to free all used memory
Solution
Create deletion functions for core structures of hive and create end label in every function where will be full cleanup, than on error just
gotolabel