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

    r96828e4 rddbbcffa  
    5050    if (kb->keys[i] == ERR) {
    5151      g_strfreev(ktokens);
    52       owl_free(kb->keys);
     52      g_free(kb->keys);
    5353      return(-1);
    5454    }
     
    6262void owl_keybinding_cleanup(owl_keybinding *kb)
    6363{
    64   if (kb->keys) owl_free(kb->keys);
    65   if (kb->desc) owl_free(kb->desc);
    66   if (kb->command) owl_free(kb->command);
     64  if (kb->keys) g_free(kb->keys);
     65  if (kb->desc) g_free(kb->desc);
     66  if (kb->command) g_free(kb->command);
    6767}
    6868
     
    7171{
    7272  owl_keybinding_cleanup(kb);
    73   owl_free(kb);
     73  g_free(kb);
    7474}
    7575
Note: See TracChangeset for help on using the changeset viewer.