mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
[mod_voicemail] Fix error-case return in vm_fsdb_pref_greeting_set_function
This commit is contained in:
parent
855d8bd3e4
commit
d28dbd1cd6
@ -5146,6 +5146,8 @@ SWITCH_STANDARD_API(vm_fsdb_pref_greeting_set_function)
|
|||||||
switch_safe_free(sql);
|
switch_safe_free(sql);
|
||||||
} else {
|
} else {
|
||||||
stream->write_function(stream, "-ERR Recording doesn't exist [%s]\n", final_file_path);
|
stream->write_function(stream, "-ERR Recording doesn't exist [%s]\n", final_file_path);
|
||||||
|
profile_rwunlock(profile);
|
||||||
|
goto done;
|
||||||
}
|
}
|
||||||
profile_rwunlock(profile);
|
profile_rwunlock(profile);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user