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

Commit 816bcef8 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: Fix memory issue on IPA wan-driver



Fix the potential memory-not-free issue on IPA wan-driver
for ipa_wan_msg

Change-Id: Id78f482478fb30f2fe1536222e13985298b34339
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent c3e1cf6f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -228,9 +228,7 @@ static void ipa_wan_msg_free_cb(void *buff, u32 len, u32 type)
	    type != WAN_UPSTREAM_ROUTE_DEL &&
	    type != WAN_EMBMS_CONNECT) {
		IPAERR("Wrong type given. buff %p type %d\n", buff, type);
		return;
	}

	kfree(buff);
}