forked from osmocom/wireshark
Clean up better if we can't open a radius dictionary included by another
radius dictionary. One of many issues with the way we load radius dictionaries. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7803 svn path=/trunk/; revision=45359
This commit is contained in:
parent
8bcc1ed05c
commit
4971b30d53
|
@ -266,6 +266,9 @@
|
|||
if (!yyin) {
|
||||
if (errno) {
|
||||
g_string_append_printf(error, "Could not open file: '%s', error: %s\n", fullpaths[include_stack_ptr], g_strerror(errno) );
|
||||
g_free(fullpaths[include_stack_ptr]);
|
||||
fullpaths[include_stack_ptr] = NULL;
|
||||
include_stack_ptr--;
|
||||
yyterminate();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue