Commit 589a10e7 authored by Lucas Russo's avatar Lucas Russo

src/sm_io/*/fmc130m_4ch/*_core.c: fix memory leak on SMIO number error

parent 0a70cebc
...@@ -154,8 +154,8 @@ err_smch_24aa64_alloc: ...@@ -154,8 +154,8 @@ err_smch_24aa64_alloc:
smch_pca9547_destroy (&self->smch_pca9547); smch_pca9547_destroy (&self->smch_pca9547);
} }
err_smch_pca9547_alloc: err_smch_pca9547_alloc:
free (self);
err_num_fmc130m_4ch_smios: err_num_fmc130m_4ch_smios:
free (self);
err_self_alloc: err_self_alloc:
return NULL; 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