mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
c60fcf3ee5
commit
d6abb5817e
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue