[Bug 739368] small memory leak in gl shader

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 29 11:28:19 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739368
  GStreamer | gst-plugins-bad | git

--- Comment #1 from Luis de Bethencourt <luis.bg at samsung.com> 2014-10-29 18:28:13 UTC ---
Code around it for easier review.

>      if (arraysize) {
>        char *s = g_malloc (strlen (vartype) + 32);
>        sprintf (s, "%s[%d]", vartype, arraysize);
>        if (strcmp (t, s)) {
>          g_free (s);
>          goto parse_error;
>        }
>        g_free (s);
>      } else {

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list