Fixed two analyzer leaks