Audio transcoding works correctly. Added a bunch of cleanup functions

This commit is contained in:
Jaime Thomas
2008-06-04 01:12:34 +00:00
parent 064e3174c4
commit 6b44a0bdeb
11 changed files with 106 additions and 14 deletions

View File

@@ -81,6 +81,29 @@ ecdb_erase_project_init(Ecdb_Erase_Project *proj)
return TRUE;
}
void
ecdb_burn_project_destroy(Ecdb_Burn_Project *proj)
{
ecdb_source_destroy(proj->files);
FREE(proj->volume_id);
FREE(proj->publisher_id);
FREE(proj->data_preparer_id);
FREE(proj->system_id);
FREE(proj->application_id);
FREE(proj->copywrite_id);
FREE(proj->abstract_id);
FREE(proj->biblio_id);
ecdb_project_destroy(ECDB_PROJ(proj));
free(proj);
}
void
ecdb_erase_project_destroy(Ecdb_Erase_Project *proj)
{
ecdb_project_destroy(ECDB_PROJ(proj));
free(proj);
}
/* Erase and Burn Function */
int
ecdb_burn_project(Ecdb_Burn_Project *proj)