neon,dvd: also use g_value_set_static_string() here for static strings

This commit is contained in:
Stefan Kost 2010-03-16 23:43:02 +02:00
parent cadb0526d5
commit aa65063eda

View file

@ -387,7 +387,7 @@ gst_neonhttp_src_get_property (GObject * object, guint prop_id,
g_value_set_string (value, str); g_value_set_string (value, str);
ne_free (str); ne_free (str);
} else { } else {
g_value_set_string (value, ""); g_value_set_static_string (value, "");
} }
break; break;
} }
@ -402,7 +402,7 @@ gst_neonhttp_src_get_property (GObject * object, guint prop_id,
g_value_set_string (value, str); g_value_set_string (value, str);
ne_free (str); ne_free (str);
} else { } else {
g_value_set_string (value, ""); g_value_set_static_string (value, "");
} }
break; break;
} }