summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-02 12:51:36 +0300
committerStefano Karapetsas <[email protected]>2014-11-28 08:37:31 +0100
commit3042b45cf9d10a0e194daf457c619c368edaab4f (patch)
treeecb0981650c4cca9900c811b054154a544daea0a /libmate-desktop/mate-bg.c
parent0e650dca3eb412d90c8c443b30f094665102ace2 (diff)
downloadmate-desktop-3042b45cf9d10a0e194daf457c619c368edaab4f.tar.bz2
mate-desktop-3042b45cf9d10a0e194daf457c619c368edaab4f.tar.xz
va_start should be paired with va_end
Closes https://github.com/mate-desktop/mate-desktop/pull/137
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r--libmate-desktop/mate-bg.c2
1 files changed, 2 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;