orocos / rtt_soem

RTT SOEM EtherCAT components and drivers
27 stars 31 forks source link

Segmentation fault #16

Open keivanzavari opened 7 years ago

keivanzavari commented 7 years ago

Hi,

In the cleanupHook the pointers are deleted but the vector is not cleared. This will result in seg fault in case you

For this to be solved a m_drivers.clear(); is necessary in cleanupHook. I have done these changes and documented the code a bit more. Will do a pull request once this issue and the one I opened earlier are further tested.