GNOME Bugzilla – Bug 719850
convertframe: remove trivial memory leak
Last modified: 2013-12-04 17:04:21 UTC
I found a very trivial leak from convertframe, but nobody reported for a long time.
Created attachment 263515 [details] [review] a trivial memory leakage
Or you just use GST_ELEMENT_NAME()
Created attachment 263518 [details] [review] GST_ELEMENT_NAME Thanks for reminding MACRO.
Review of attachment 263518 [details] [review]: Looks good, maybe a butter comment ? and we would be done, nice catch.
* better
commit 4a81e22607ddefb8d05cd8587ac895f350359f6a Author: Justin Joy <justin.joy.9to5@gmail.com> Date: Thu Dec 5 00:27:14 2013 +0900 convertframe: Fix trivial memory leak in debug statement gst_element_get_name() requires the caller to g_free() the return value https://bugzilla.gnome.org/show_bug.cgi?id=719850