Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r7dcef03 r9d4dfdc  
    627627
    628628static 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);
    630630  var->type = type;
    631631  var->name = g_strdup(name);
     
    793793  g_closure_unref(v->set_fromstring_fn);
    794794
    795   g_slice_free(owl_variable, v);
     795  g_free(v);
    796796}
    797797
Note: See TracChangeset for help on using the changeset viewer.