Param analysis

leaks/memory errors