mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
neon,dvd: also use g_value_set_static_string() here for static strings
This commit is contained in:
parent
cadb0526d5
commit
aa65063eda
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue