Changeset 2166


Ignore:
Timestamp:
Jun 19, 2007, 4:36:59 PM (15 years ago)
Author:
charles
Message:

fix double-free memory error in gtk client when reading corrupt torrent files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/conf.c

    r1998 r2166  
    307307  if(usedold || tr_bencLoad(data, len, state, NULL)) {
    308308    /* XXX all this evil compat code should go away at some point */
    309     tr_bencFree(state);
    310309    bzero(state, sizeof(benc_val_t));
    311310    state->type = TYPE_LIST;
Note: See TracChangeset for help on using the changeset viewer.