diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-07-11 14:34:23 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-07-11 14:34:23 +0000 |
commit | 9e2c8a0985bd92b4f1acd167476b351c03907d88 (patch) | |
tree | f46347f497f5078ea8a50a4d139c63bafa7a11a4 | |
parent | 8f7f7dd223699674b324fddfee308b17d804d51c (diff) |
fix loop termination condition
-rw-r--r-- | telepathy-glib/properties-mixin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/properties-mixin.c b/telepathy-glib/properties-mixin.c index 58c58ab01..94d18495f 100644 --- a/telepathy-glib/properties-mixin.c +++ b/telepathy-glib/properties-mixin.c @@ -1119,7 +1119,7 @@ list_properties (TpSvcPropertiesInterface *iface, tp_svc_properties_interface_return_from_list_properties ( context, ret); - for (i = 0; i < ret; i++) + for (i = 0; i < ret->len; i++) g_boxed_free (TP_TYPE_PROPERTY_INFO_STRUCT, ret->pdata[i]); g_ptr_array_free (ret, TRUE); |