Changes in variable.c [7dcef03:9d4dfdc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r7dcef03 r9d4dfdc 627 627 628 628 static owl_variable *owl_variable_newvar(int type, const char *name, const char *summary, const char *description, const char *validsettings) { 629 owl_variable *var = g_ slice_new0(owl_variable);629 owl_variable *var = g_new0(owl_variable, 1); 630 630 var->type = type; 631 631 var->name = g_strdup(name); … … 793 793 g_closure_unref(v->set_fromstring_fn); 794 794 795 g_ slice_free(owl_variable,v);795 g_free(v); 796 796 } 797 797
Note: See TracChangeset
for help on using the changeset viewer.