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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > -	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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux