Commit d6abb581 authored by Edward Hervey's avatar Edward Hervey 🤘

gst/gstcaps.override: new caps should be freed on dealloc...

Original commit message from CVS:
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...
parent c60fcf3e
2005-10-06 Edward Hervey <edward@fluendo.com>
* gst/gstcaps.override: (_wrap_gst_caps_new_empty):
new caps should be freed on dealloc...
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstcaps.override:
......
......@@ -101,7 +101,7 @@ _wrap_gst_caps_new_empty(PyGBoxed *self, PyObject *args, PyObject *kwargs)
/* we wrap caps_new, caps_from_string and caps_new_full */
len = PyTuple_Size(args);
self->gtype = GST_TYPE_CAPS;
self->free_on_dealloc = FALSE;
self->free_on_dealloc = TRUE;
if (len == 0) {
/* 0 length creates a new empty caps */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment