Do not release reference on the subject of an expression
We don't own the reference in the first place.
This commit is contained in:
@@ -982,9 +982,6 @@ gtk_constraint_expression_add_variable (GtkConstraintExpression *expression,
|
||||
gtk_constraint_solver_note_removed_variable (solver, variable, subject);
|
||||
|
||||
gtk_constraint_expression_remove_term (expression, variable);
|
||||
|
||||
if (subject != NULL)
|
||||
gtk_constraint_variable_unref (subject);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user