Gave up call burn_os_close_track_src() introduced by rev 2920

This commit is contained in:
2009-11-25 12:21:12 +00:00
parent c88a428d5e
commit 496d794bcd
6 changed files with 18 additions and 55 deletions

View File

@ -247,16 +247,6 @@ int burn_os_open_track_src(char *path, int open_flags, int flag)
}
int burn_os_close_track_src(int fd, int flag)
{
int ret = 0;
if(fd != -1)
ret = close(fd);
return ret;
}
void *burn_os_alloc_buffer(size_t amount, int flag)
{
void *buf = NULL;
@ -268,6 +258,8 @@ void *burn_os_alloc_buffer(size_t amount, int flag)
int burn_os_free_buffer(void *buffer, size_t amount, int flag)
{
if (buffer == NULL)
return 0;
free(buffer);
return 1;
}