From Chris Maynard Wireshark crashes when attempting to obtain help from various dialogs

svn path=/trunk/; revision=46912
This commit is contained in:
Anders Broman 2013-01-03 10:49:32 +00:00
parent 674567df8a
commit df50a668b1
1 changed files with 1 additions and 2 deletions

View File

@ -135,10 +135,9 @@ user_guide_url(const gchar *page) {
utf_8to16(url->str),
HH_DISPLAY_TOPIC, 0);
g_string_free(url, TRUE /* free_segment */);
/* if the .chm file could be opened, stop here */
if(hw != NULL) {
g_string_free(url, TRUE /* free_segment */);
return NULL;
}
#endif /* HHC_DIR */