Commit 0a70cebc authored by Lucas Russo's avatar Lucas Russo

src/*/libhutils/hutils_utils.c: fix memory leak on string error

parent a6ba4a50
......@@ -265,6 +265,7 @@ char *hutils_clone_str (const char *str)
err_trunc_str:
err_copy_str:
free (new_str);
err_str_alloc:
return 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