diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-07-20 19:53:33 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-07-21 02:54:03 +0000 |
commit | d2727ec8a2bc0524e6e1ea5a1992bed153b1488c (patch) | |
tree | 1fd465a787886569714e5b418b82f8cb7194fc37 /epan/dissectors/packet-igap.c | |
parent | 52323b20f5ca54d62d8fbffa4ddea8cc851c22df (diff) |
Don't pass NULL to wtap_block_set_string_option_value().
To remove OPT_SHB_HARDWARE, use wtap_block_remove_option().
To get the string value from a GString, use g_string_free(string,
FALSE), not g_string_free(string, TRUE) - the latter will free the
string value and return NULL.
Change-Id: I0c5a9f818543f6752f455f04fb3c024208e23954
Reviewed-on: https://code.wireshark.org/review/16567
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-igap.c')
0 files changed, 0 insertions, 0 deletions