diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-09-05 09:23:08 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-09-05 09:23:08 +0000 |
commit | 621e885ad6356fb46f7416670609117ddb986596 (patch) | |
tree | 7f6d73941857775e9cfe8780c32c7adba564a863 /hcid/main.c | |
parent | 49a0b7dc900eec6e195808e1033a5794ca9660e9 (diff) |
Fix memory leak with config reloading
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c index 567dfab3..38a4efe0 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -519,6 +519,8 @@ static void sig_hup(int sig) { info("Reloading config file"); + free_device_opts(); + init_defaults(); if (read_config(hcid.config_file) < 0) |