diff --git a/src/libpocketsphinx/bin_mdef.c b/src/libpocketsphinx/bin_mdef.c index 71f792085..da9233a1e 100644 --- a/src/libpocketsphinx/bin_mdef.c +++ b/src/libpocketsphinx/bin_mdef.c @@ -131,6 +131,7 @@ bin_mdef_read_text(cmd_ln_t *config, const char *filename) /* FIXME: there should be a solution to this, actually. */ E_ERROR("Phone names are not in sorted order, sorry."); bin_mdef_free(bmdef); + mdef_free(mdef); return NULL; } }