summaryrefslogtreecommitdiff
path: root/copy-n-paste
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-22 23:01:26 +0300
committerinfirit <[email protected]>2014-11-23 12:42:17 +0100
commit3f847bccca5feab26b5e756ec064109ec6aa01fa (patch)
tree17254d36b40eca9898f23a15d8e33ebc58d10906 /copy-n-paste
parent49f8fe9f3275c7e094472d93991f7b33a45f3a84 (diff)
downloadengrampa-3f847bccca5feab26b5e756ec064109ec6aa01fa.tar.bz2
engrampa-3f847bccca5feab26b5e756ec064109ec6aa01fa.tar.xz
va_start should be paired with va_end
Diffstat (limited to 'copy-n-paste')
-rw-r--r--copy-n-paste/eggsmclient-xsmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/copy-n-paste/eggsmclient-xsmp.c b/copy-n-paste/eggsmclient-xsmp.c
index f974136..0601cd9 100644
--- a/copy-n-paste/eggsmclient-xsmp.c
+++ b/copy-n-paste/eggsmclient-xsmp.c
@@ -1153,6 +1153,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;