Re: [PATCH] isdn: eicon: free pointer after using it in log msg in divas_um_idi_delete_entity()

From
David Miller <davem@davemloft.net>
Date
2013-10-02 20:01:23
Also in
lkml
Reply to
Jesper Juhl, 2013-09-30
From: Jesper Juhl <redacted>
Date: Mon, 30 Sep 2013 21:25:27 +0200 (CEST)
Not really a problem, but nice IMHO; the Coverity static analyzer
complains that we use the pointer 'e' after it has been freed, so move
the freeing below the final use, even if that use is just using the
value of the pointer and not actually dereferencing it.

Signed-off-by: Jesper Juhl <redacted>
Applied to net-next, thanks.
Thread (2 messages) 2 messages, 2 authors, last reply 2013-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help