Commit: e0eeef1030e0fd869a93d97a7354a8c8b363a07f
Parent: ded317e9c2848e16e0616b961df2b3dc4e836c6e
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-07-07 10:01:42
Tree: 46f59276bfbbbda3006e0338811f79d66a61f3ae

client: Fix memory leak due to the option to register an agent When bluetoothctl runs with the command line option "-a <capability>", it does not free the variable auto_register_agent registering the initial agent and allocates new memory for it. This frees the allocated memory before allocating new memory. (The related commit id is 6db3470c2ea161b4b808ad1fc80dfd7e014fd359.)

Diffstat

M client/main.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

View Full Diff | Patch