Authored by Jonas Budelmann

fix memory usage of updateConstraints

@@ -361,9 +361,8 @@ static char kInstalledConstraintsKey; @@ -361,9 +361,8 @@ static char kInstalledConstraintsKey;
361 } else { 361 } else {
362 [self.installedView addConstraint:layoutConstraint]; 362 [self.installedView addConstraint:layoutConstraint];
363 self.layoutConstraint = layoutConstraint; 363 self.layoutConstraint = layoutConstraint;
  364 + [firstLayoutItem.mas_installedConstraints addObject:self];
364 } 365 }
365 -  
366 - [firstLayoutItem.mas_installedConstraints addObject:self];  
367 } 366 }
368 367
369 - (MASLayoutConstraint *)layoutConstraintSimilarTo:(MASLayoutConstraint *)layoutConstraint { 368 - (MASLayoutConstraint *)layoutConstraintSimilarTo:(MASLayoutConstraint *)layoutConstraint {