Re: [PATCH 3/4] Fix memory leaks after using strtoba, batostr

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

 



>Hi,
>
>This patch would not be necessary if you keep only str2ba() and
>ba2str() (like I commented on patch 2/4).
>
>Regards,

Cannot keep only *2*() functions, because for two reason. Firstly, these functions are different (see discussion at patch 2/4). 
Secondly, for example, "ba2str" use external buffer, while "batostr" create it internal. So simpler is using "batostr", 
because there is no need to create temporary buffer.

So I think patch is (quite) useful.

Regards--
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