Changeset 1bd5aa9 for context.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
  • context.c

    rf271129 r7dcef03  
    1010  if (!(mode & OWL_CTX_MODE_BITS))
    1111    mode |= OWL_CTX_INTERACTIVE;
    12   c = g_new0(owl_context, 1);
     12  c = g_slice_new0(owl_context);
    1313  c->mode = mode;
    1414  c->data = data;
     
    7171  if (ctx->delete_cb)
    7272    ctx->delete_cb(ctx);
    73   g_free(ctx);
     73  g_slice_free(owl_context, ctx);
    7474}
Note: See TracChangeset for help on using the changeset viewer.