kopia lustrzana https://gitlab.com/sane-project/backends
Removed Frank's memleak fix. The memory is allocated only once in
sanei_usb_init, not in sanei_usb_open. So releasing it in sanei_usb_close breaks backends that open devices more than once.merge-requests/1/head
rodzic
2a36b0592b
commit
74de40f1da
|
@ -16,7 +16,11 @@
|
|||
* doc/descriptions/unsupported.desc: Removed Epson Perfection 660
|
||||
(now supported by snapscan backend), Primax Jewel 4800 (teco2).
|
||||
Added Enhans/E-Lux j-6121 and Visioneer OneTouch 5300 USB.
|
||||
|
||||
* sanei/sanei_usb.c: Removed Frak's memleak fix. The memory is
|
||||
allocated only once in sanei_usb_init, not in sanei_usb_open.
|
||||
So releasing it in sanei_usb_close breaks backends that open
|
||||
devices more than once.
|
||||
|
||||
2003-04-18 Frank Zago <fzago at austin dot rr dot com>
|
||||
|
||||
* backend/teco2.c backend/teco2.conf backend/teco2.h
|
||||
|
|
|
@ -775,10 +775,6 @@ sanei_usb_close (SANE_Int dn)
|
|||
dn);
|
||||
return;
|
||||
}
|
||||
if (devices[dn].devname) {
|
||||
free(devices[dn].devname);
|
||||
devices[dn].devname = NULL;
|
||||
}
|
||||
if (devices[dn].method == sanei_usb_method_scanner_driver)
|
||||
close (devices[dn].fd);
|
||||
else
|
||||
|
|
Ładowanie…
Reference in New Issue