plugin: plug memleak

A new reference to probe was acquired through mm_device_get_probe(), just unref it
when no longer needed. Note that mm_port_probe_run() will take its own reference
for as long as required to complete the operation.
This commit is contained in:
Aleksander Morgado
2013-02-20 17:00:14 +01:00
parent 688bb2cb3a
commit 5b072b9198

View File

@@ -750,6 +750,7 @@ mm_plugin_supports_port (MMPlugin *self,
out:
g_object_unref (async_result);
g_object_unref (probe);
}
/*****************************************************************************/