projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f2e4d
)
pbutils: Fix leaked GStrv. Fixes #574258
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Mar 2009 12:45:07 +0000
(13:45 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 5 Mar 2009 12:45:07 +0000
(13:45 +0100)
gst/pbutils.override
patch
|
blob
|
history
diff --git
a/gst/pbutils.override
b/gst/pbutils.override
index
8e42685
..
b20153e
100644
(file)
--- a/
gst/pbutils.override
+++ b/
gst/pbutils.override
@@
-137,11
+137,13
@@
_wrap_gst_install_plugins_sync(PyGObject *self, PyObject *args, PyObject *kwargs
PyErr_SetString(PyExc_TypeError, "Details need to be a non-empty list or tuple of strings");
Py_DECREF(py_str);
Py_DECREF(py_details);
+ g_strfreev(details);
return NULL;
}
if (!(str = PyString_AsString(py_str))) {
Py_DECREF(py_str);
Py_DECREF(py_details);
+ g_strfreev(details);
return NULL;
}
details[i] = g_strdup(str);