Browse Source

Fix bug in DataSource.

release-1.5.4.branch
Vreixo Formoso 15 years ago
parent
commit
42cd599d2d
  1. 2
      src/data_source.c

2
src/data_source.c

@ -127,7 +127,7 @@ void ds_free_data(IsoDataSource *src)
data = (struct file_data_src*)src->data;
/* close the file if needed */
if (data->fd != 1) {
if (data->fd != -1) {
close(data->fd);
}
free(data->path);

Loading…
Cancel
Save