Minor bugfix for dl_free.