Commit Graph
2 Commits
Author SHA1 Message Date
Samuel Lidén Borell d190773d09 Fix memory leak in the test program 2014-06-02 23:49:42 +02:00
Samuel Lidén Borell d8c80cd277 Fix undefined behaviour in left shift
This is not a problem with a usual compiler configuration, but LLVM/clang
detects it when compiled with:

-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv
2014-06-02 23:47:27 +02:00