neon,dvd: also use g_value_set_static_string() here for static strings
This commit is contained in:
parent
cadb0526d5
commit
aa65063eda
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user