diff -r f9f884cf3033 -r 87f428326f9b etherlab/plc_etherlab.c --- a/etherlab/plc_etherlab.c Tue Dec 20 23:43:27 2011 +0100 +++ b/etherlab/plc_etherlab.c Thu Dec 22 14:52:18 2011 +0900 @@ -100,6 +100,7 @@ if (rt_fd >= 0) { rt_dev_close(rt_fd); } + ecrt_release_master(master); } void __retrieve_%(location)s(void)