mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-11 16:55:45 +00:00
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);
|
NULL);
|
||||||
|
|
||||||
if (ps->config == NULL) {
|
if (ps->config == NULL) {
|
||||||
return SWITCH_STATUS_GENERR;
|
status = SWITCH_STATUS_GENERR;
|
||||||
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_mutex_lock(ps->flag_mutex);
|
switch_mutex_lock(ps->flag_mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user