From: <fe...@ke...> - 2008-01-30 16:26:04
|
CVS Root: /cvs/gstreamer Module: gst-openmax Changes by: felipec Date: Wed Jan 30 2008 16:26:02 UTC Log message: Properly allocate memory that would eventually be freed. This possibly caused sefaults at plugin deinitialization. Modified files: omx : gstomx_util.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-openmax/omx/gstomx_util.c.diff?r1=1.11&r2=1.12 ====Begin Diffs==== Index: gstomx_util.c =================================================================== RCS file: /cvs/gstreamer/gst-openmax/omx/gstomx_util.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- gstomx_util.c 30 Jan 2008 16:24:17 -0000 1.11 +++ gstomx_util.c 30 Jan 2008 16:25:48 -0000 1.12 @@ -119,7 +119,7 @@ imp = g_omx_imp_new (name); if (!imp) return NULL; - g_hash_table_insert (implementations, (gpointer) name, imp); + g_hash_table_insert (implementations, g_strdup (name), imp); } if (imp->client_count == 0) { |