[template-glib] expr: add missing TMPL_EXPR_ARGS cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [template-glib] expr: add missing TMPL_EXPR_ARGS cleanup
- Date: Wed, 4 May 2022 20:15:35 +0000 (UTC)
commit 696cfbd8718bb533a3b484ce527d6c4161060598
Author: Christian Hergert <chergert redhat com>
Date: Wed May 4 13:03:45 2022 -0700
expr: add missing TMPL_EXPR_ARGS cleanup
This was lost when we renamed the old STMT_LIST to ARGS.
src/tmpl-expr.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/tmpl-expr.c b/src/tmpl-expr.c
index 010e30e..65099ea 100644
--- a/src/tmpl-expr.c
+++ b/src/tmpl-expr.c
@@ -83,6 +83,7 @@ tmpl_expr_destroy (TmplExpr *self)
case TMPL_EXPR_AND:
case TMPL_EXPR_OR:
case TMPL_EXPR_INVERT_BOOLEAN:
+ case TMPL_EXPR_ARGS:
g_clear_pointer (&self->simple.left, tmpl_expr_unref);
g_clear_pointer (&self->simple.right, tmpl_expr_unref);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]