Make sure we initialize the array of file type extensions before we use
authorGuy Harris <guy@alum.mit.edu>
Tue, 27 Aug 2013 22:10:35 +0000 (22:10 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 27 Aug 2013 22:10:35 +0000 (22:10 -0000)
it.

svn path=/trunk/; revision=51553

wiretap/file_access.c

index e0670af1d8b42f3a2c00ad7096322339a9e24a17..da7a09a643ac8eda366f79152a5ec365ce8a8b90 100644 (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 */
 
        /*