Set freed variables to 0 in sane_exit. Fixed coding style. New version:

1.0-121.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-04-10 20:59:27 +00:00
rodzic 9e573ebc59
commit 28fa07be27
1 zmienionych plików z 153 dodań i 152 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
/* sane - Scanner Access Now Easy.
Copyright (C) 1996, 1997 David Mosberger-Tang, 1998 Andreas Bolsch for
extension to ScanExpress models version 0.5,
2000, 2001 Henning Meier-Geinitz.
2000 - 2002 Henning Meier-Geinitz.
This file is part of the SANE package.
This program is free software; you can redistribute it and/or
@ -295,7 +295,8 @@ typedef struct Mustek_Scanner
/* these are used for SE, MFS and N line-distance correction: */
SANE_Byte *buf[3];
/* these are used for N line-distance correction only: */
SANE_Int ld_line;/* line # currently processed in ld-correction */
SANE_Int ld_line; /* line # currently processed in
ld-correction */
SANE_Int lmod3; /* line # modulo 3 */
}
ld;