Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: [PATCH] radio-si470x.c: check-after-use | Date | Tue, 29 Jan 2008 20:37:36 +0100 |
| |
Am Montag 28 Januar 2008 schrieb Tobias Lorenz: > > Either "radio" can be NULL and this case has to be properly handled or > > the NULL check is not required. > > These two lines should indeed better be inside the if statement. The patch for this is below.
No, in disconnect intfdata must be valid. Any check for NULL is wrong there.
Regards Oliver
| |