Eliminate ksyrdump memory leak