[Telepathy-commits] [telepathy-glib/master] get_channel_details: pre-allocate 2 elements in oa{sv} GValueArray
Will Thompson
will.thompson at collabora.co.uk
Wed Sep 17 08:11:05 PDT 2008
---
telepathy-glib/base-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 49304df..4421a35 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -427,7 +427,7 @@ exportable_channel_get_old_info (TpExportableChannel *channel,
static GValueArray *
get_channel_details (GObject *obj)
{
- GValueArray *structure = g_value_array_new (1);
+ GValueArray *structure = g_value_array_new (2);
GHashTable *table;
GValue *value;
gchar *object_path;
--
1.5.6.5
More information about the Telepathy-commits
mailing list