Changeset ddbbcffa for viewwin.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
  • viewwin.c

    r96828e4 rddbbcffa  
    4444      owl_fmtext_append_normal(&(v->fmtext), "\n");
    4545  }
    46   owl_free(text);
     46  g_free(text);
    4747  v->textlines=owl_fmtext_num_lines(&(v->fmtext));
    4848  v->topline=0;
     
    204204  owl_global_push_context_obj(&g, ctx);
    205205  owl_editwin_set_callback(tw, owl_viewwin_callback_search);
    206   owl_editwin_set_cbdata(tw, data, owl_free);
     206  owl_editwin_set_cbdata(tw, data, g_free);
    207207  /* We aren't saving tw, so release the reference we were given. */
    208208  owl_editwin_unref(tw);
     
    424424  g_object_unref(v->status);
    425425  owl_fmtext_cleanup(&(v->fmtext));
    426   owl_free(v);
    427 }
     426  g_free(v);
     427}
Note: See TracChangeset for help on using the changeset viewer.