summaryrefslogtreecommitdiff
path: root/gst/alpha
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-05-02 18:50:23 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-05-02 18:50:23 +0000
commitcba47ec36158643ca7327955aaab5bf47561e689 (patch)
treeaf36b60e6db8028dd3836809f5979d26bc5131bb /gst/alpha
parent2b4ba77c27f24bd8e7ee94ca1a10acf3076bb437 (diff)
gst/: don't leak caps-string
Original commit message from CVS: * gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps): * gst/debug/negotiation.c: (gst_negotiation_update_caps): * gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps): don't leak caps-string
Diffstat (limited to 'gst/alpha')
-rw-r--r--gst/alpha/gstalphacolor.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c
index 46e76c77..f7f8fc55 100644
--- a/gst/alpha/gstalphacolor.c
+++ b/gst/alpha/gstalphacolor.c
@@ -180,8 +180,15 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans,
gst_caps_unref (local_caps);
gst_caps_do_simplify (result);
- GST_LOG ("transformed %s to %s", gst_caps_to_string (caps),
- gst_caps_to_string (result));
+ {
+ gchar *caps_str, *result_str;
+
+ caps_str = gst_caps_to_string (caps);
+ result_str = gst_caps_to_string (result);
+ GST_LOG ("transformed %s to %s", caps_str, result_str);
+ g_free (caps_str);
+ g_free (result_str);
+ }
return result;
}