Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f6a50ec authored by Sankeerth Billakanti's avatar Sankeerth Billakanti
Browse files

platform: msm: free the codec node after disconnect



The codec interface node is allocated during the codec
addition during dp connect. These changes will free the
node after the dp disconnect.

Change-Id: I6f1fc5639f1a5fa61ef04557b888b3389800dce1
Signed-off-by: default avatarSankeerth Billakanti <sbillaka@codeaurora.org>
parent f8b00cea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ static int msm_ext_disp_remove_intf_data(struct msm_ext_disp *ext_disp,
		if (node->data == data) {
			list_del(pos);
			pr_debug("Deleted the intf data\n");
			kfree(node);
			return 0;
		}
	}