return -EOVERFLOW;
}
}
- access_destroy(aa);
if(stat(de->de_config->dvr_storage, &st) || !S_ISDIR(st.st_mode)) {
tvherror(LS_DVR, "the directory '%s' is not accessible", de->de_config->dvr_storage);
+ access_destroy(aa);
return -EIO;
}
profile_get_name(pro), channel_get_name(de->de_channel));
profile_chain_close(prch);
free(prch);
+ access_destroy(aa);
return -EINVAL;
}
}
channel_get_name(de->de_channel), profile_get_name(pro));
profile_chain_close(prch);
free(prch);
+ access_destroy(aa);
return -EINVAL;
}
if (de->de_config->dvr_preproc)
dvr_spawn_cmd(de, de->de_config->dvr_preproc, NULL, 1);
+ access_destroy(aa);
return 0;
}