Fix a memleak in the recursive sdb ns free