From: Thomas Vander Stichele Date: Fri, 16 Jul 2004 13:31:28 +0000 (+0000) Subject: fix #147707 blocker X-Git-Tag: RELEASE-0_8_4~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37960c1b394fb5100fe9660b4ac1987234162478;p=platform%2Fupstream%2Fgstreamer.git fix #147707 blocker Original commit message from CVS: fix #147707 blocker --- diff --git a/ChangeLog b/ChangeLog index fc05ba4..57f7aba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-07-16 Thomas Vander Stichele + * gst/gstvalue.c: (gst_value_deserialize_fraction): + change strndup to g_strndup. Fixes #147707 + +2004-07-16 Thomas Vander Stichele + * po/af.po: * po/az.po: * po/cs.po: diff --git a/gst/gstvalue.c b/gst/gstvalue.c index b87f4fc..ad05310 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -2494,7 +2494,7 @@ gst_value_deserialize_fraction (GValue * dest, const char *s) div = strstr (s, "/"); if (!div) return FALSE; - tmp = strndup (s, (size_t) (div - s)); + tmp = g_strndup (s, (size_t) (div - s)); num = atoi (tmp); free (tmp); den = atoi (div + 1);