Add a cdda_close that doesn't free the p_cdio pointer for those cases

where an application may want to keep that pointer open.

All routines now are distinct from parnaoia routines with suitable
#defines for compatibility.
This commit is contained in:
rocky
2005-01-26 01:03:16 +00:00
parent 266cb9a65d
commit d7b87a6fad
5 changed files with 93 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: device.c,v 1.7 2005/01/20 00:36:38 rocky Exp $
$Id: device.c,v 1.8 2005/01/26 01:03:16 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -276,6 +276,7 @@ cdio_destroy (CdIo_t *p_cdio)
if (p_cdio->op.free != NULL)
p_cdio->op.free (p_cdio->env);
p_cdio->env = NULL;
free (p_cdio);
}