Fix: remove useless value

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: memory leak on error path

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
[NOMERGE] Add utils unit tests.

Need more coverage before getting merge upstream.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>