Changeset ddbbcffa for keybinding.c
- Timestamp:
- Feb 11, 2011, 4:31:42 PM (14 years ago)
- Branches:
- master, release-1.10, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
keybinding.c
r96828e4 rddbbcffa 50 50 if (kb->keys[i] == ERR) { 51 51 g_strfreev(ktokens); 52 owl_free(kb->keys);52 g_free(kb->keys); 53 53 return(-1); 54 54 } … … 62 62 void owl_keybinding_cleanup(owl_keybinding *kb) 63 63 { 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); 67 67 } 68 68 … … 71 71 { 72 72 owl_keybinding_cleanup(kb); 73 owl_free(kb);73 g_free(kb); 74 74 } 75 75
Note: See TracChangeset
for help on using the changeset viewer.