Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-14

Re: [PATCH] calipso: fix resource leak on calipso_genopt failure

From: David Miller <davem@davemloft.net>
Date: 2016-08-14 09:43:28
Also in: lkml

From: Colin King <redacted>
Date: Thu, 11 Aug 2016 18:17:22 +0100
From: Colin Ian King <redacted>

Currently, if calipso_genopt fails then the error exit path
does not free the ipv6_opt_hdr new causing a memory leak. Fix
this by kfree'ing new on the error exit path.

Signed-off-by: Colin Ian King <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help