Changeset 311

Show
Ignore:
Timestamp:
30/07/07 12:18:16 (16 months ago)
Author:
smoku
Message:

Fixed in->key memleak

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/s2s/in.c

    r310 r311  
    240240                   /* remove the initial (non-SSL) stream id from the in connections hash */ 
    241241                   xhash_zap(in->s2s->in, in->key); 
     242                   free(in->key); 
    242243                } 
    243244 
    244                 in->key = pstrdup(xhash_pool(in->routes), s->id); 
     245                in->key = strdup(s->id); 
    245246 
    246247                /* track it - add to open streams hash and remove from new connections hash */