Memory leak unloading driver as module

Doug Nazar nazard@man-assoc.on.ca
Thu Nov 26 21:56:31 1998


--_=_=_=IMA.BOUNDARY.F32864138764=_=_=_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

The vp->priv member is being set before the vp struct is being memset.
Patch relative to the "test driver.


Doug Nazar

Phone: (416) 708-1578
  Fax: (416) 708-8081


--_=_=_=IMA.BOUNDARY.F32864138764=_=_=_
Content-Type: application/octet-stream; name="3c59x.c.diff"
Content-Transfer-Encoding: base64

LS0tIDNjNTl4LmMub2xkCVRodSBOb3YgMjYgMjA6NTY6NTEgMTk5OAorKysgM2M1OXguYwlUaHUg
Tm92IDI2IDIxOjQxOjU0IDE5OTgKQEAgLTc5NCw5ICs3OTQsOSBAQAogCXsKIAkJdm9pZCAqbWVt
ID0ga21hbGxvYyhzaXplb2YoKnZwKSArIDE1LCBHRlBfS0VSTkVMKTsKIAkJdnAgPSAgKHZvaWQg
KikoKChsb25nKW1lbSArIDE1KSAmIH4xNSk7CisJCW1lbXNldCh2cCwgMCwgc2l6ZW9mKCp2cCkp
OwogCQl2cC0+cHJpdl9hZGRyID0gbWVtOwogCX0KLQltZW1zZXQodnAsIDAsIHNpemVvZigqdnAp
KTsKIAlkZXYtPnByaXYgPSB2cDsKIAogCXZwLT5uZXh0X21vZHVsZSA9IHJvb3Rfdm9ydGV4X2Rl
djsK

--_=_=_=IMA.BOUNDARY.F32864138764=_=_=_--