Fix a memory leak. An indexing error meant that the first sserial channel was never freed
Fix a memory leak. An indexing error meant that the first sserial channel was never freed

Signed-off-by: Andy Pugh <e3579b1e47f273529f0f929453e939a68ede9fd1@bodgesoc.org>

RunningLight/machinekit,kinsamanka/machinekit,mhaberler/machinekit,mhaberler/machinekit,aschiffler/linuxcnc,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,unseenlaser/machinekit,EqAfrica/machinekit,jaguarcat79/ILC-with-LinuxCNC,narogon/linuxcnc,aschiffler/linuxcnc,cdsteinkuehler/linuxcnc,narogon/linuxcnc,bobvanderlinden/machinekit,cnc-club/linuxcnc,araisrobo/linuxcnc,unseenlaser/linuxcnc,mhaberler/machinekit,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,jaguarcat79/ILC-with-LinuxCNC,EqAfrica/machinekit,bobvanderlinden/machinekit,bobvanderlinden/machinekit,RunningLight/machinekit,kinsamanka/machinekit,strahlex/machinekit,kinsamanka/machinekit,ianmcmahon/linuxcnc-mirror,araisrobo/linuxcnc,Cid427/machinekit,cnc-club/linuxcnc,unseenlaser/machinekit,unseenlaser/linuxcnc,aschiffler/linuxcnc,cnc-club/linuxcnc,ArcEye/MK-Qt5,narogon/linuxcnc,kinsamanka/machinekit,ArcEye/machinekit-testing,strahlex/machinekit,Cid427/machinekit,bobvanderlinden/machinekit,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,araisrobo/linuxcnc,ArcEye/machinekit-testing,ianmcmahon/linuxcnc-mirror,araisrobo/machinekit,kinsamanka/machinekit,RunningLight/machinekit,EqAfrica/machinekit,unseenlaser/machinekit,unseenlaser/linuxcnc,EqAfrica/machinekit,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,kinsamanka/machinekit,araisrobo/machinekit,araisrobo/machinekit,EqAfrica/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,narogon/linuxcnc,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,kinsamanka/machinekit,cdsteinkuehler/MachineKit,unseenlaser/machinekit,jaguarcat79/ILC-with-LinuxCNC,bobvanderlinden/machinekit,araisrobo/machinekit,araisrobo/machinekit,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,mhaberler/machinekit,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,cdsteinkuehler/MachineKit,RunningLight/machinekit,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,ianmcmahon/linuxcnc-mirror,ArcEye/machinekit-testing,strahlex/machinekit,bobvanderlinden/machinekit,cdsteinkuehler/MachineKit,araisrobo/linuxcnc,araisrobo/machinekit,RunningLight/machinekit,strahlex/machinekit,cdsteinkuehler/MachineKit,ianmcmahon/linuxcnc-mirror,mhaberler/machinekit,Cid427/machinekit,Cid427/machinekit,RunningLight/machinekit,mhaberler/machinekit,unseenlaser/machinekit,araisrobo/linuxcnc,Cid427/machinekit,unseenlaser/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/linuxcnc,strahlex/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,EqAfrica/machinekit,Cid427/machinekit,narogon/linuxcnc,ArcEye/machinekit-testing,Cid427/machinekit,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,aschiffler/linuxcnc,mhaberler/machinekit,strahlex/machinekit,bmwiedemann/linuxcnc-mirror,cnc-club/linuxcnc,cnc-club/linuxcnc,EqAfrica/machinekit,unseenlaser/machinekit,bmwiedemann/linuxcnc-mirror,bobvanderlinden/machinekit,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,EqAfrica/machinekit,cnc-club/linuxcnc,ArcEye/machinekit-testing,bobvanderlinden/machinekit,mhaberler/machinekit,unseenlaser/linuxcnc,strahlex/machinekit,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,unseenlaser/machinekit,aschiffler/linuxcnc,ArcEye/MK-Qt5,RunningLight/machinekit,araisrobo/machinekit,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,Cid427/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,RunningLight/machinekit,jaguarcat79/ILC-with-LinuxCNC,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/MachineKit,ArcEye/machinekit-testing