#96 valgrind found a pointer problem in the qsort cmp function