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

Commit 15166fad authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

[IRDA]: Fix memory leak in irttp_init()

parent 45fc3b11
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ int __init irttp_init(void)
	if (!irttp->tsaps) {
		IRDA_ERROR("%s: can't allocate IrTTP hashbin!\n",
			   __FUNCTION__);
		kfree(irttp);
		return -ENOMEM;
	}