diff options
| author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-10 18:03:27 +0000 | 
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-10 18:03:27 +0000 | 
| commit | f4662ad94310c08fd83e2cd9acd4ab0a03379cee (patch) | |
| tree | aa82b235128630b81d7928b23393aa046046a7a5 | |
| parent | 8504c972c3019405fb4dc82d99c56f41ad859b40 (diff) | |
Fix memory leak.
| -rw-r--r-- | hcid/device.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/hcid/device.c b/hcid/device.c index 74cf7cd3..840f8d1f 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -751,6 +751,7 @@ static void device_free(struct device *device)  {  	g_slist_foreach(device->uuids, (GFunc) g_free, NULL);  	g_slist_free(device->uuids); +	g_free(device->address);  	g_free(device->path);  	g_free(device);  } | 
