diff options
author | monsta <[email protected]> | 2014-11-02 12:51:36 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-11-28 08:37:31 +0100 |
commit | 3042b45cf9d10a0e194daf457c619c368edaab4f (patch) | |
tree | ecb0981650c4cca9900c811b054154a544daea0a /libmate-desktop | |
parent | 0e650dca3eb412d90c8c443b30f094665102ace2 (diff) | |
download | mate-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')
-rw-r--r-- | libmate-desktop/mate-bg.c | 2 | ||||
-rw-r--r-- | libmate-desktop/mate-rr-config.c | 2 |
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; |