olsr_switch: fix a memory leak