don't leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11974 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a04dc0b695
commit
c08d3150c8
|
@ -164,7 +164,8 @@ static switch_status_t pocketsphinx_asr_load_grammar(switch_asr_handle_t *ah, co
|
|||
NULL);
|
||||
|
||||
if (ps->config == NULL) {
|
||||
return SWITCH_STATUS_GENERR;
|
||||
status = SWITCH_STATUS_GENERR;
|
||||
goto end;
|
||||
}
|
||||
|
||||
switch_mutex_lock(ps->flag_mutex);
|
||||
|
|
Loading…
Reference in New Issue