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
a4c03480a5
commit
654cd7fa70
|
@ -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…
Reference in New Issue