lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 Mar 2013 10:06:41 -0000
From:	"David Laight" <David.Laight@...LAB.COM>
To:	"jb" <jb.1234abcd@...il.com>, <netdev@...r.kernel.org>
Subject: RE: [PATCH] iputils: fix memory leaks

>     Fix memory leaks
...
> +#ifdef USE_IDN
> +                               free(idn);
> +                               idn = NULL;
> +#endif
>                                 exit(2);

There is no point calling free() before exit(), nor any need
to free items that aren't allocated inside loops.

	David



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ