GNOME Bugzilla – Bug 574251
leaks the flow name
Last modified: 2009-03-05 12:24:00 UTC
in gst/gst.override 732 ret = gst_flow_get_name(flow); 733 if (ret) { 734 nret = g_strdup(ret); 735 return PyString_FromString(nret); 736 } gst_flow_get_name() is returning a const, so we don't need to g_strdup() imho.
commit 92f2e4d5401a1ff020f9d22263a4621fa9f57371 Author: Edward Hervey <bilboed@bilboed.com> Date: Thu Mar 5 13:21:19 2009 +0100 Fix leak in gst_flow_get_name() wrapper function. Fixes #574251 PyString_FromString will make a copy of the provided string.