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...
This commit is contained in:
Edward Hervey 2005-10-06 15:03:40 +00:00
parent c60fcf3ee5
commit d6abb5817e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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:

View file

@ -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 */