forked from osmocom/wireshark
Fix calls to g_string_free() (added so as not to leak memory).
svn path=/trunk/; revision=40641
This commit is contained in:
parent
d19dba2c76
commit
d494beebcf
|
@ -1506,8 +1506,8 @@ build_file_type_list(gboolean save, int *item_to_select) {
|
|||
}
|
||||
index++;
|
||||
}
|
||||
g_string_free(pattern_str);
|
||||
g_string_free(description_str);
|
||||
g_string_free(pattern_str, TRUE);
|
||||
g_string_free(description_str, TRUE);
|
||||
|
||||
/* terminate the array */
|
||||
sa = g_array_append_val(sa, zero);
|
||||
|
|
Loading…
Reference in New Issue