proto_data.c: Fix bug in p_remove_proto_data.
Change-Id: I44654b1aa6f513a0bccb88cba3181f5c52073832 Reviewed-on: https://code.wireshark.org/review/25065 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
ea8d0c51b3
commit
998507d327
|
@ -132,7 +132,7 @@ p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int pro
|
|||
temp.proto_data = NULL;
|
||||
|
||||
if (scope == pinfo->pool) {
|
||||
item = g_slist_find_custom(pinfo->fd->pfd, &temp, p_compare);
|
||||
item = g_slist_find_custom(pinfo->proto_data, &temp, p_compare);
|
||||
proto_list = &pinfo->proto_data;
|
||||
} else if (scope == wmem_file_scope()) {
|
||||
item = g_slist_find_custom(pinfo->fd->pfd, &temp, p_compare);
|
||||
|
|
Loading…
Reference in New Issue