(Minor): Do some sanity checking....

svn path=/trunk/; revision=32278
This commit is contained in:
Bill Meier 2010-03-25 19:05:44 +00:00
parent 264d162f8d
commit 36b82db075
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}