summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-23 23:21:01 +0300
committerinfirit <[email protected]>2014-11-24 22:32:09 +0100
commit05c072c13e441ff5725b228fce13bc6b820c219f (patch)
treee2211fc31d0de118df589d06610d0ab75ba78fb7
parent23b2b3b0e0f979b123a503c41ecde108e824f437 (diff)
downloadmate-panel-05c072c13e441ff5725b228fce13bc6b820c219f.tar.bz2
mate-panel-05c072c13e441ff5725b228fce13bc6b820c219f.tar.xz
va_start should be paired with va_end
-rw-r--r--mate-panel/libegg/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/libegg/eggsmclient-xsmp.c b/mate-panel/libegg/eggsmclient-xsmp.c
index 3e2a6949..dfe05820 100644
--- a/mate-panel/libegg/eggsmclient-xsmp.c
+++ b/mate-panel/libegg/eggsmclient-xsmp.c
@@ -1154,6 +1154,7 @@ array_prop (const char *name, ...)
pv.value = value;
g_array_append_val (vals, pv);
}
+ va_end (ap);
prop->num_vals = vals->len;
prop->vals = (SmPropValue *)vals->data;