Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[linux-2.6-microblaze.git] / drivers / fpga / stratix10-soc.c
index 2aeb53f..a2cea50 100644 (file)
@@ -454,6 +454,7 @@ static int s10_remove(struct platform_device *pdev)
        struct s10_priv *priv = mgr->priv;
 
        fpga_mgr_unregister(mgr);
+       fpga_mgr_free(mgr);
        stratix10_svc_free_channel(priv->chan);
 
        return 0;