forked from osmocom/wireshark
(Minor): Do some sanity checking....
svn path=/trunk/; revision=32278
This commit is contained in:
parent
264d162f8d
commit
36b82db075
|
@ -129,6 +129,7 @@ static void cleanup_stream_hash( void ) {
|
|||
|
||||
/* init function, call from stream_init() */
|
||||
static void init_stream_hash( void ) {
|
||||
g_assert(stream_hash==NULL);
|
||||
stream_hash = g_hash_table_new(stream_hash_func,
|
||||
stream_compare_func);
|
||||
}
|
||||
|
@ -269,6 +270,7 @@ static void cleanup_fragment_hash( void ) {
|
|||
|
||||
/* init function, call from stream_init() */
|
||||
static void init_fragment_hash( void ) {
|
||||
g_assert(fragment_hash==NULL);
|
||||
fragment_hash = g_hash_table_new(fragment_hash_func,
|
||||
fragment_compare_func);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue