mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
fix filehandle leak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@617 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
ff4858ec6b
commit
5d12ff0200
@ -415,6 +415,8 @@ zap_status_t zap_span_load_tones(zap_span_t *span, const char *mapname)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
zap_config_close_file(&cfg);
|
||||
|
||||
if (!x) {
|
||||
snprintf(span->last_error, sizeof(span->last_error), "error loading tones.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user