Further cleanup of endpoint closing: * don't leak the endpoint structure if it was never open, free it in close * check the endpoint status in the cleanup thread * release the iface before setting the endpoint on the cleanup list
Further cleanup of endpoint closing:
* don't leak the endpoint structure if it was never open, free it in close
* check the endpoint status in the cleanup thread
* release the iface before setting the endpoint on the cleanup list



git-svn-id: 29c1264a5cf5e3532df57b06678e7347571c1a3c@1122 f1ba3bf5-cb5c-402b-92a9-7c6bdc83a356

ananos/open-mx,ananos/xen2mx,ananos/open-mx,ananos/open-mx,ananos/xen2mx,ananos/xen2mx,ananos/xen2mx