This takes care of free()ing key, but not value ?  Freaky, if so ...