From 6bf163742a2d1ec31b8885d7f2fcd9ca9703e197 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Tue, 10 Aug 2004 19:23:53 +0000 Subject: [PATCH] fix a memory leak that occured under Windows Original commit message from CVS: fix a memory leak that occured under Windows --- ChangeLog | 5 +++++ gst/gstvalue.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 54fdd85..0e496cc 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 3761292..dccf9be 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); -- 2.7.4