Re: [PATCH 3/3] gatt: Fix not freeing GError on failure

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

 



Hi Jakub,

On Wed, May 21, 2014, Jakub Tyszkowski wrote:
> +	if (gerr) {
> +		error("Could not acquire att imtu and cid: %s", gerr->message);
> +		free(gerr);
> +	}

Good catch, but GErrors are freed with g_error_free()

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