diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-02-28 11:34:50 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-02-28 19:35:23 +0000 |
commit | 82b2d8b4e53878f03e469869abd6cfa82b6f7bf8 (patch) | |
tree | 3bbdc698d17e0cf39492ee6f4ebfdea38eb34136 /epan/radius_dict.l | |
parent | 3c6900f31fcfed080d165b581ccef8f022109491 (diff) |
Expand a comment.
Change-Id: I4b040665582ec1fd3f97b915b3819ff2d8850a6f
Reviewed-on: https://code.wireshark.org/review/20315
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r-- | epan/radius_dict.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l index eb0dfdce74..0ba517cf64 100644 --- a/epan/radius_dict.l +++ b/epan/radius_dict.l @@ -524,7 +524,9 @@ static gboolean add_attribute(Radius_scanner_state_t* state, const gchar* name, if (g_strcmp0(a->name, name) != 0) { /* * Yes. Steal the entry from the by-name hash table - * and re-insert it with the new name. + * and re-insert it with the new name. (Don't + * remove it - that calls the free routine, which + * frees up the entry.) */ g_hash_table_steal(state->dict->attrs_by_name, (gpointer) (a->name)); g_free((gpointer) a->name); |