qca: fix segfault on provider instance dtor