add missing free calls
add missing free calls