diff -r c2295d311402 -r 08d67a0af2c1 etherlab/plc_etherlab.c --- a/etherlab/plc_etherlab.c Sun Dec 18 19:42:13 2011 +0100 +++ b/etherlab/plc_etherlab.c Thu Dec 22 14:44:58 2011 +0900 @@ -100,6 +100,8 @@ if (rt_fd >= 0) { rt_dev_close(rt_fd); } + //release master + ecrt_release_master(master); } void __retrieve_%(location)s(void)