Latex paint usually doesn't grow mold and mildews due to the shelf life of 10 years. But improper storage can change and reduce that shelf life. Hence, you are bound to discard that defective paint.