Description: Release port on close
 Helps with the Python module when an object gets deleted.
Author: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Bug-Debian: http://bugs.debian.org/461068

Index: libieee1284-0.2.11/src/interface.c
===================================================================
--- libieee1284-0.2.11.orig/src/interface.c	2003-05-30 16:26:12.000000000 +0200
+++ libieee1284-0.2.11/src/interface.c	2010-05-06 11:24:12.000000000 +0200
@@ -62,6 +62,7 @@
       debugprintf (needs_open_port, "ieee1284_close");
       return E1284_INVALIDPORT;
     }
+  ieee1284_release(port);
   if (priv->fn->cleanup)
     priv->fn->cleanup (priv);
   priv->opened = 0;
