Changeset 2afae56


Ignore:
Timestamp:
Oct 23, 2010, 9:17:39 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
1d81c51
Parents:
d4582ef
git-author:
David Benjamin <davidben@mit.edu> (10/23/10 21:16:38)
git-committer:
David Benjamin <davidben@mit.edu> (10/23/10 21:17:39)
Message:
Don't leak partial history entries when replacing them

We're removing pointers from the history without freeing them.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • history.c

    r1e94c0b r2afae56  
    5353  /* if partial is set, remove the first entry first */
    5454  if (h->partial) {
     55    owl_free(owl_list_get_element(&(h->hist), 0));
    5556    owl_list_remove_element(&(h->hist), 0);
    5657  }
Note: See TracChangeset for help on using the changeset viewer.