Changeset 1bd5aa9 for variable.c


Ignore:
Timestamp:
Dec 25, 2013, 11:35:05 AM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Parents:
d779a1a (diff), 7dcef03 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 7dcef0312dbb22b5bb46c6e0e72c5508ed26c284 into d779a1aa58104b69d351237882b1b55aac8cf315
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

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