santensuru / adaptive-huffman

Adaptive Huffman implement using c++
12 stars 10 forks source link

Fix for stack crash #1

Open mdejong opened 7 years ago

mdejong commented 7 years ago

diff --git a/vitter.cpp b/vitter.cpp index e14f700..1bcab25 100644 --- a/vitter.cpp +++ b/vitter.cpp @@ -355,7 +355,7 @@ namespace vitter { */

    void get_the_code(node **tree, unsigned char symbol, char *do_code, std::queue<char> *code_write) {