summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-06-15 18:20:20 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-22 11:36:53 +0100
commitd090c8ac6658d0928ac5b1a89f53a21c799f8628 (patch)
tree41af85bfcbcc5d128b5f3efe654f619cd83bf8e0
parentb5c98e0624d4c566af30eb6afd1be7e8678cfc65 (diff)
Add missing va_end()s
-rw-r--r--telepathy-glib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/util.c b/telepathy-glib/util.c
index 4c3a072f0..438d17d88 100644
--- a/telepathy-glib/util.c
+++ b/telepathy-glib/util.c
@@ -1033,11 +1033,13 @@ tp_value_array_build (gsize length,
g_free (error);
g_value_array_free (arr);
+ va_end (var_args);
return NULL;
}
}
g_warn_if_fail (arr->n_values == length);
+ va_end (var_args);
return arr;
}