diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-10-08 12:33:06 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-10-08 12:33:06 +0200 |
commit | 24feb9f37f302c006ba51502da817325200e74d0 (patch) | |
tree | d4451782449e5fcbae9cbe3778c51a8c6cb3c36d /backend/sp15c.c | |
parent | 76b69ebb381d40458339c9940135740797cbd2d4 (diff) | |
parent | cfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff) |
Merge tag 'upstream/1.0.25'
Upstream version 1.0.25
Diffstat (limited to 'backend/sp15c.c')
-rw-r--r-- | backend/sp15c.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/sp15c.c b/backend/sp15c.c index 7a3808e..3937a30 100644 --- a/backend/sp15c.c +++ b/backend/sp15c.c @@ -311,7 +311,6 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize) SANE_Status sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only) { - static const SANE_Device **devlist = 0; struct sp15c *dev; int i; @@ -990,6 +989,9 @@ sane_exit (void) free (dev->buffer); free (dev); } + + if (devlist) + free (devlist); } /* sane_exit */ /* }################ internal (support) routines ################{ */ |