memory leak on custom meta data insert

tom tomschuring at gmail.com
Mon Mar 7 05:18:43 UTC 2022


please ignore

i needed to change

MtdataMeta *in = gst_buffer_add_mtdata_meta(*outbuf, (gchar *)hello.c_str());


to

gchar *test = g_strdup(hello.c_str());
MtdataMeta *in = gst_buffer_add_mtdata_meta(*outbuf, test);
g_free(test);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220307/0caabcda/attachment.htm>


More information about the gstreamer-devel mailing list