totem r5571 - in trunk: . browser-plugin
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5571 - in trunk: . browser-plugin
- Date: Tue, 19 Aug 2008 09:46:13 +0000 (UTC)
Author: hadess
Date: Tue Aug 19 09:46:13 2008
New Revision: 5571
URL: http://svn.gnome.org/viewvc/totem?rev=5571&view=rev
Log:
2008-08-19 Bastien Nocera <hadess hadess net>
* browser-plugin/totem-plugin-viewer.c (entry_parsed):
Fix accessing a freed string, the metadata hashtable from
the playlist parser returns const data, which we need to
duplicate
Modified:
trunk/ChangeLog
trunk/browser-plugin/totem-plugin-viewer.c
Modified: trunk/browser-plugin/totem-plugin-viewer.c
==============================================================================
--- trunk/browser-plugin/totem-plugin-viewer.c (original)
+++ trunk/browser-plugin/totem-plugin-viewer.c Tue Aug 19 09:46:13 2008
@@ -2070,7 +2070,7 @@
item = g_new0 (TotemPlItem, 1);
item->uri = g_strdup (uri);
- item->title = g_hash_table_lookup (metadata, TOTEM_PL_PARSER_FIELD_TITLE);
+ item->title = g_strdup (g_hash_table_lookup (metadata, TOTEM_PL_PARSER_FIELD_TITLE));
item->duration = duration;
item->starttime = totem_pl_parser_parse_duration (g_hash_table_lookup (metadata, TOTEM_PL_PARSER_FIELD_STARTTIME), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]