fix a memory leak that occured under Windows

Original commit message from CVS:
fix a memory leak that occured under Windows
This commit is contained in:
Steve Lhomme 2004-08-10 19:23:53 +00:00
parent 0eadb80815
commit 6bf163742a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-08-10 Steve Lhomme <steve.lhomme@free.fr>
* gst/gstvalue.h:
fix a memory leak that occured under Windows
2004-08-10 Colin Walters <walters@redhat.com> 2004-08-10 Colin Walters <walters@redhat.com>
* gst/registries/gstxmlregistry.c (gst_xml_registry_open_func): * gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):

View file

@ -1255,7 +1255,7 @@ gst_string_wrap (const char *s)
} }
if (!wrap) if (!wrap)
return strdup (s); return g_strdup (s);
e = d = g_malloc (len + 3); e = d = g_malloc (len + 3);