Re: [PATCH] Replace batostr() with ba2str() to avoid memleaks

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

 



Hi David,

On Fri, Feb 18, 2011, David Herrmann wrote:
> batostr() returns dynamically allocated strings. Replace it with
> ba2str() wherever possible to avoid heap allocations and fix
> memleaks.
> ---
>  compat/bnep.c |    5 +++--
>  test/hciemu.c |    4 +++-
>  2 files changed, 6 insertions(+), 3 deletions(-)

Thanks. The patch has been pushed upstream with a couple of minor coding
style corrections.

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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux