diff --git a/ChangeLog b/ChangeLog index 54fdd857c8..0e496ccb94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 Steve Lhomme + + * gst/gstvalue.h: + fix a memory leak that occured under Windows + 2004-08-10 Colin Walters * gst/registries/gstxmlregistry.c (gst_xml_registry_open_func): diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 37612921f4..dccf9be9a1 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1255,7 +1255,7 @@ gst_string_wrap (const char *s) } if (!wrap) - return strdup (s); + return g_strdup (s); e = d = g_malloc (len + 3);