After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309005 - leaks in gstlibfame.c
leaks in gstlibfame.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-25 10:12 UTC by Paolo Borelli
Modified: 2005-06-30 10:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Borelli 2005-06-25 10:12:08 UTC
(as usual, no clue about what this code really does, found this one with grep)

gst-plugins/ext/libfame/gstlibfame.c:266

      type =
          g_enum_register_static (g_strdup_printf ("GstFameEnc_%s",
              current_type), (GEnumValue *) array->data);

      pspec =
          (current_type, current_type,
          g_strdup_printf ("The FAME \"%s\" object", current_type), type,
          default_index, G_PARAM_READWRITE);


the code looks suspicious to me: both g_enum_register_static and
g_param_spec_enum take a const *gchar, so the strduped string is leaked afaics
Comment 1 Ronald Bultje 2005-06-30 10:15:17 UTC
Fixed, ty.