Lines Matching defs:devlist
49 - free devlist allocated in sane_get_devices() in sane_exit()
142 static const SANE_Device **devlist = 0;
2069 if (devlist)
2070 free(devlist);
2084 if (devlist)
2085 free (devlist);
2086 devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
2087 if (!devlist)
2092 devlist[i++] = &dev->sane;
2093 devlist[i++] = 0;
2095 *device_list = devlist;