forked from osmocom/wireshark
2nd try to fix recent test failures.
After recent changes it's possible that epan_dissect_cleanup() can be called if there were no dissection run on it (epan_dissect_run()) In such case ->tvb will have random value, just initialize it to NULL in _init() and see if it's working. Thanks goes to Evan for backtrace. svn path=/trunk/; revision=52722
This commit is contained in:
parent
7f3d07b9fd
commit
1f110ac43f
|
@ -229,6 +229,8 @@ epan_dissect_init(epan_dissect_t *edt, epan_t *session, const gboolean create_pr
|
|||
edt->tree = NULL;
|
||||
}
|
||||
|
||||
edt->tvb = NULL;
|
||||
|
||||
memset(&edt->pi, 0, sizeof(edt->pi));
|
||||
edt->pi.pool = wmem_allocator_new(WMEM_ALLOCATOR_SIMPLE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue