Re: [PATCH] tools: Fix memory leaks

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

 



Hi Gustavo,

> Some printfs was using as parameter functions that return dinamic
> allocated memory. Now, we free them!
> 
> Signed-off-by: Gustavo F. Padovan <gustavo@xxxxxxxxxxxxxxxxx>

BlueZ doesn't use Signed-off-by for commit messages. That is kernel
stuff.

> @@ -1586,10 +1592,13 @@ static void print_dev_hdr(struct hci_dev_info *di)
>  static void print_dev_info(int ctl, struct hci_dev_info *di)
>  {
>  	struct hci_dev_stats *st = &di->stat;
> +	char * str;

This needs to be "char *str;"

Please fix it and re-sent the patch.

Regards

Marcel


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