Commit 68c40a2e authored by Lucas Russo's avatar Lucas Russo

libhutils: nullify free'd hutils_hints_t fields

parent bb849243
......@@ -339,7 +339,9 @@ static void _hutils_hints_free_item (void **data)
if (*data) {
hutils_hints_t *item = *data;
free (item->fmc_board);
item->fmc_board = NULL;
free (item->bind);
item->bind = NULL;
free (item);
*data = NULL;
}
......
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