Changeset 10395


Ignore:
Timestamp:
Mar 18, 2010, 4:04:03 AM (12 years ago)
Author:
charles
Message:

(trunk gtk) fix another minor memory error in the new filter code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/filter.c

    r10394 r10395  
    190190            if( count == NULL )
    191191            {
    192                 char * k = g_strdup( key );
    193192                count = tr_new0( int, 1 );
    194                 g_hash_table_insert( hosts_hash, k, count );
    195                 g_ptr_array_add( hosts, k );
     193                g_hash_table_insert( hosts_hash, g_strdup( key ), count );
     194                g_ptr_array_add( hosts, g_strdup( key ) );
    196195            }
    197196
Note: See TracChangeset for help on using the changeset viewer.