Skip to content

main.c: return transition error only once

Ashok Sidipotu requested to merge main-crash-for-failed-plugin into master

When a plugin activation fails, it is supposed to fail the wireplumber init. To be precise it fails the wp init transition and the init transition objected is freed.

However the subsequent plugins added(as reported by the plugin object manager) trigger double free, prevent this by taking a weak reference.

Fixes #371 (closed)

Merge request reports