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