summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-desktop/mate-bg.c2
-rw-r--r--libmate-desktop/mate-rr-config.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index ffd5753..2ff4e92 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -2821,6 +2821,8 @@ stack_is (SlideShow *parser,
s = va_arg (args, const char *);
}
+ va_end (args);
+
l1 = stack;
l2 = parser->stack->head;
diff --git a/libmate-desktop/mate-rr-config.c b/libmate-desktop/mate-rr-config.c
index b126f46..2cd002c 100644
--- a/libmate-desktop/mate-rr-config.c
+++ b/libmate-desktop/mate-rr-config.c
@@ -131,6 +131,8 @@ stack_is (Parser *parser,
stack = g_list_prepend (stack, (gpointer)s);
s = va_arg (args, const char *);
}
+
+ va_end (args);
l1 = stack;
l2 = parser->stack->head;