summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2007-08-03 15:33:22 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2007-08-03 15:33:22 +0100
commit774e77bfcc06218ce423cb16bdd9b9e3fe11cc7b (patch)
treef990781da946960c4fe16bc68d2c0e1dc9f475a0
parent58005d431f6abac330c6682143c160996071c597 (diff)
fix crasher in ohmd/ohm-plugin.c
ohm_plugin_free_hal_table was removing items from hal_udis as it iterated them. That's bad, mmkay?
-rw-r--r--ohmd/ohm-plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ohmd/ohm-plugin.c b/ohmd/ohm-plugin.c
index 5279df3..9edf003 100644
--- a/ohmd/ohm-plugin.c
+++ b/ohmd/ohm-plugin.c
@@ -404,7 +404,6 @@ ohm_plugin_free_hal_table (OhmPlugin *plugin)
libhal_device_remove_property_watch (plugin->priv->hal_ctx, temp_udi, NULL);
}
g_free (temp_udi);
- g_ptr_array_remove (plugin->priv->hal_udis, temp_udi);
}
}