Make sure we initialize the array of file type extensions before we use

it.

svn path=/trunk/; revision=51553
This commit is contained in:
Guy Harris 2013-08-27 22:10:35 +00:00
parent 574183b9ec
commit b862ff08fd
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ GSList *wtap_get_all_file_extensions_list(void)
unsigned int i;
gchar **extensions_set, **extensionp, *extension;
init_file_type_extensions();
extensions = NULL; /* empty list, to start with */
/*