Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-15 Thread Adrian Bunk
On Tue, Mar 14, 2006 at 07:16:25PM -0800, Jouni Malinen wrote: > On Mon, Mar 13, 2006 at 11:28:41PM +0100, Adrian Bunk wrote: > > This patch fixes two memotry leaks spotted by the Coverity checker. > > Thanks. I'll make a bit different patch to resolve this and related PCI > "leaks" in one change.

Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-14 Thread Jouni Malinen
On Mon, Mar 13, 2006 at 11:28:41PM +0100, Adrian Bunk wrote: > This patch fixes two memotry leaks spotted by the Coverity checker. Thanks. I'll make a bit different patch to resolve this and related PCI "leaks" in one change. I'm going through the Coverity reports for Host AP driver, so I'll inclu

Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-14 Thread Michael Buesch
On Monday 13 March 2006 23:28, you wrote: > This patch fixes two memotry leaks spotted by the Coverity checker. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- > > drivers/net/wireless/hostap/hostap_pci.c |6 +++--- > drivers/net/wireless/hostap/hostap_plx.c |6 +++--- > 2

Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-13 Thread Herbert Xu
Adrian Bunk <[EMAIL PROTECTED]> wrote: > > + if (pci_enable_device(pdev)) > + return -EIO; > + >hw_priv = kmalloc(sizeof(*hw_priv), GFP_KERNEL); >if (hw_priv == NULL) >return -ENOMEM; >memset(hw_priv, 0, sizeof(*hw_priv)); > > - if

[2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-13 Thread Adrian Bunk
This patch fixes two memotry leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/net/wireless/hostap/hostap_pci.c |6 +++--- drivers/net/wireless/hostap/hostap_plx.c |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) --- linux-2.6