diff options
-rw-r--r-- | src/mm-plugin-base.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index 9fe3d6b94..50f8c9196 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -724,10 +724,11 @@ supports_port (MMPlugin *plugin, (GAsyncReadyCallback)port_probe_run_ready, ctx); - /* Keep track of the probe */ + /* Keep track of the probe. Note that we got a new reference already + * from the cache. */ g_hash_table_insert (priv->tasks, g_strdup (key), - g_object_ref (probe)); + probe); out: if (port) |