forked from osmocom/wireshark
Change col_set_str() call to col_add_str() since the string being passed
to it is freed right afterwards. This fixes an issue reported to wireshark-users by Ershov Pavel on Jan 9, 2010 (in the U.S.). svn path=/trunk/; revision=31472
This commit is contained in:
parent
e49599c588
commit
279fa465aa
|
@ -115,7 +115,7 @@ static void dissect_bjnp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
val_to_str (cmd_code, cmd_code_vals, "Unknown code (%d)"));
|
||||
|
||||
proto_item_append_text (ti, ", %s", info);
|
||||
col_set_str (pinfo->cinfo, COL_INFO, info);
|
||||
col_add_str (pinfo->cinfo, COL_INFO, info);
|
||||
|
||||
g_free (info);
|
||||
|
||||
|
|
Loading…
Reference in New Issue