[gtk/wip/ebassi/constraint-layout: 22/69] Do not release reference on the subject of an expression
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/constraint-layout: 22/69] Do not release reference on the subject of an expression
- Date: Sun, 30 Jun 2019 23:11:58 +0000 (UTC)
commit 64afa765c88122e4fbaf56d4282ca2d20962351b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jun 27 16:42:58 2019 +0100
Do not release reference on the subject of an expression
We don't own the reference in the first place.
gtk/gtkconstraintexpression.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkconstraintexpression.c b/gtk/gtkconstraintexpression.c
index 0e5db96b62..6cd7dfcbaf 100644
--- a/gtk/gtkconstraintexpression.c
+++ b/gtk/gtkconstraintexpression.c
@@ -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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]