Fix random memory leaks.
Fix random memory leaks.

wlanslovenija/babeld,Gwendocg/babeldToS,boutier/babeld,tcatm/babeld,Gwendocg/babeldToS,jech/babeld,woniullb/babeld,Drooids/babeld,wlanslovenija/babeld,jech/babeld,dtaht/babeld-shortrtt-metrics,sudomesh/babeld