Replace code to free hashtable with lib calls.