[Telepathy-commits] [telepathy-salut/master] salut_tubes_manager_close_all: define tmp variable in sub block
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Feb 5 04:08:13 PST 2009
---
src/salut-tubes-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/salut-tubes-manager.c b/src/salut-tubes-manager.c
index e0d3af9..0969485 100644
--- a/src/salut-tubes-manager.c
+++ b/src/salut-tubes-manager.c
@@ -378,7 +378,6 @@ static void
salut_tubes_manager_close_all (SalutTubesManager *self)
{
SalutTubesManagerPrivate *priv = SALUT_TUBES_MANAGER_GET_PRIVATE (self);
- GHashTable *tmp;
DEBUG ("closing 1-1 tubes tubes channels");
@@ -391,6 +390,8 @@ salut_tubes_manager_close_all (SalutTubesManager *self)
if (priv->tubes_channels != NULL)
{
+ GHashTable *tmp;
+
tmp = priv->tubes_channels;
priv->tubes_channels = NULL;
g_hash_table_destroy (tmp);
--
1.5.6.5
More information about the telepathy-commits
mailing list