summaryrefslogtreecommitdiff
path: root/gst/gstelementfactory.c
diff options
context:
space:
mode:
authorErik Walthinsen <omega@temple-baptist.org>2001-01-07 07:45:54 +0000
committerErik Walthinsen <omega@temple-baptist.org>2001-01-07 07:45:54 +0000
commite33b2e5908a0c2c8e11744c7aab3a00d4e4376ea (patch)
treef0bbc077497f4a3d882dc77a352d7337054d2729 /gst/gstelementfactory.c
parent81aa7d16b0a9d0100fef92985b91e6e365df171c (diff)
more leak fixes
Original commit message from CVS: more leak fixes
Diffstat (limited to 'gst/gstelementfactory.c')
-rw-r--r--gst/gstelementfactory.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c
index 2a78492a5b..a028df222a 100644
--- a/gst/gstelementfactory.c
+++ b/gst/gstelementfactory.c
@@ -393,25 +393,25 @@ gst_elementfactory_load_thyself (xmlNodePtr parent)
while (children) {
if (!strcmp(children->name, "name")) {
- factory->name = g_strdup(xmlNodeGetContent(children));
+ factory->name = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "longname")) {
- factory->details->longname = g_strdup(xmlNodeGetContent(children));
+ factory->details->longname = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "class")) {
- factory->details->klass = g_strdup(xmlNodeGetContent(children));
+ factory->details->klass = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "description")) {
- factory->details->description = g_strdup(xmlNodeGetContent(children));
+ factory->details->description = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "version")) {
- factory->details->version = g_strdup(xmlNodeGetContent(children));
+ factory->details->version = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "author")) {
- factory->details->author = g_strdup(xmlNodeGetContent(children));
+ factory->details->author = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "copyright")) {
- factory->details->copyright = g_strdup(xmlNodeGetContent(children));
+ factory->details->copyright = xmlNodeGetContent(children);
}
if (!strcmp(children->name, "padtemplate")) {
GstPadTemplate *template;