[PATCH 1/3] Staging: hv: Remove checks for NULL before calling

Bill Pemberton wfp5p at viridian.itc.virginia.edu
Tue May 4 15:46:09 UTC 2010


> > -	if (msgInfo) {
> > -		kfree(msgInfo->WaitEvent);
> > -		kfree(msgInfo);
> > -	}
> > +	kfree(msgInfo->WaitEvent);
> 
> If msgInfo was NULL, you just oopsed here :(
> 

Sorry about that, getting too aggressive on that.

-- 
Bill



More information about the devel mailing list