From 20039e5dd5f5a5c2defdfc294ff2e841e5fad93d Mon Sep 17 00:00:00 2001
From: =?utf8?q?Pawe=C5=82=20Stawicki?=
Date: Fri, 16 Mar 2018 18:08:19 +0100
Subject: [PATCH] [prevent][43479] Fix for missing va_end in
_atspi_dbus_call_partial
Change-Id: Ice71e5aaa543ca7908464538f15f3fbd921c464f
---
atspi/atspi-misc.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 5c0a40d..65003df 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -1107,9 +1107,11 @@ _atspi_dbus_call_partial (gpointer obj,
const char *type, ...)
{
va_list args;
-
+ DBusMessage * result;
va_start (args, type);
- return _atspi_dbus_call_partial_va (obj, interface, method, error, type, args);
+ result = _atspi_dbus_call_partial_va (obj, interface, method, error, type, args);
+ va_end (args);
+ return result;
}
--
2.7.4