Changeset ddbbcffa for history.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:42 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
d4927a7
Parents:
35b6eb9
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:41)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:42)
Message:
Replace owl_free with g_free.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • history.c

    r2afae56 rddbbcffa  
    5353  /* if partial is set, remove the first entry first */
    5454  if (h->partial) {
    55     owl_free(owl_list_get_element(&(h->hist), 0));
     55    g_free(owl_list_get_element(&(h->hist), 0));
    5656    owl_list_remove_element(&(h->hist), 0);
    5757  }
     
    6464  /* if we've reached the max history size, pop off the last element */
    6565  if (size>OWL_HISTORYSIZE) {
    66     owl_free(owl_list_get_element(&(h->hist), size-1));
     66    g_free(owl_list_get_element(&(h->hist), size-1));
    6767    owl_list_remove_element(&(h->hist), size-1);
    6868  }
Note: See TracChangeset for help on using the changeset viewer.