mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property): Fix memory leak. g_value_set_string already does ...
Original commit message from CVS: * gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property): Fix memory leak. g_value_set_string already does g_strdup.
This commit is contained in:
parent
9df6134df1
commit
802f77d9ad
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-19 Luca Ognibene <luogni@tin.it>
|
||||
|
||||
* gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property):
|
||||
Fix memory leak. g_value_set_string already does g_strdup.
|
||||
|
||||
2005-06-16 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gsturi.c: (gst_element_make_from_uri):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 495d6e30b3e513aebbc98467707c609c49ea654d
|
||||
Subproject commit d6e46b214fac0ecb46010ff522af2f7653e1c18e
|
|
@ -241,7 +241,7 @@ gst_xml_registry_get_property (GObject * object, guint prop_id,
|
|||
|
||||
switch (prop_id) {
|
||||
case PROP_LOCATION:
|
||||
g_value_set_string (value, g_strdup (registry->location));
|
||||
g_value_set_string (value, registry->location);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue