Plug some leaks in bplist.c