mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
added free to free_dictionary()
This commit is contained in:
parent
38f4e43381
commit
93c1309fd4
@ -1495,6 +1495,8 @@ void free_dictionary(dictionary_t *const dict) {
|
|||||||
free(dict->content);
|
free(dict->content);
|
||||||
|
|
||||||
memset(dict, 0, sizeof(dictionary_t));
|
memset(dict, 0, sizeof(dictionary_t));
|
||||||
|
|
||||||
|
free(dict);
|
||||||
}
|
}
|
||||||
/******* END DICTIONARY PARSING ***********************************************/
|
/******* END DICTIONARY PARSING ***********************************************/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user