diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-24 17:19:49 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-24 17:55:48 +0200 |
commit | 53a32886ca1247f4cab5e4147061c2031f85015b (patch) | |
tree | eec7a3371a3d3534d196e168d6210c6454810989 /src | |
parent | 895239acf05077c7700875cb722e50bfa8b45ead (diff) |
Fix valgrind unaddressable bytes complaint
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -490,6 +490,8 @@ static void device_devreg_setup(int dev_id, gboolean devup) init_device(dev_id); + memset(&di, 0, sizeof(di)); + if (hci_devinfo(dev_id, &di) < 0) return; |