Fixed a few more memory leaks in det_file_depends.c