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

    r35b6eb9 rddbbcffa  
    8484    g_object_unref(e->win);
    8585  }
    86   owl_free(e->buff);
     86  g_free(e->buff);
    8787  /* just in case someone forgot to clean up */
    8888  while (e->excursions) {
     
    9191  oe_destroy_cbdata(e);
    9292
    93   owl_free(e);
     93  g_free(e);
    9494}
    9595
     
    306306  }
    307307
    308   owl_free(e->buff);
     308  g_free(e->buff);
    309309  _owl_editwin_init(e, e->winlines, e->wincols, e->style, e->hist);
    310310
     
    320320
    321321  if (locktext)
    322     owl_free(locktext);
     322    g_free(locktext);
    323323
    324324  oe_set_index(e, lock);
     
    388388{
    389389  oe_restore_excursion(e, x);
    390   owl_free(x);
     390  g_free(x);
    391391}
    392392
     
    10731073
    10741074  if (p != NULL) {
    1075     owl_free(killbuf);
     1075    g_free(killbuf);
    10761076    memcpy(p, buf, len);
    10771077    p[len] = 0;
Note: See TracChangeset for help on using the changeset viewer.