Commit 5dfa4ca5 authored by Lucas Russo's avatar Lucas Russo

hal/dev_mngr/dev_mngr_core.c: fix invalid zhash_autofree ()

This hash is used to hold the values we get from zconfigm,
but we don't need to destruct the objects ourselves on reading
them. That's the job of the zconfig itself.
parent 59a8999f
......@@ -678,10 +678,6 @@ dmngr_err_e dmngr_get_hints (zconfig_t *root_cfg, zhash_t *hints_h)
}
}
/* As we only have strings in our hash, we can use the simple autofree
* feature to cleanly destroy the items later. */
zhash_autofree (hints_h);
err_cfg_exit:
return err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment