kopia lustrzana https://gitlab.com/sane-project/backends
rodzic
e8c11a0849
commit
6e9f6de1bc
|
@ -77,6 +77,7 @@
|
|||
#define TAMARACK_CONFIG_FILE "tamarack.conf"
|
||||
|
||||
|
||||
static const SANE_Device **devlist = NULL;
|
||||
static int num_devices;
|
||||
static Tamarack_Device *first_dev;
|
||||
static Tamarack_Scanner *first_handle;
|
||||
|
@ -950,12 +951,14 @@ sane_exit (void)
|
|||
free ((void *) dev->sane.model);
|
||||
free (dev);
|
||||
}
|
||||
|
||||
if (devlist)
|
||||
free (devlist);
|
||||
}
|
||||
|
||||
SANE_Status
|
||||
sane_get_devices (const SANE_Device ***device_list, SANE_Bool local_only)
|
||||
{
|
||||
static const SANE_Device **devlist = 0;
|
||||
Tamarack_Device *dev;
|
||||
int i;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue