mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
fix #147707 blocker
Original commit message from CVS: fix #147707 blocker
This commit is contained in:
parent
3cd03dffae
commit
37960c1b39
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstvalue.c: (gst_value_deserialize_fraction):
|
||||||
|
change strndup to g_strndup. Fixes #147707
|
||||||
|
|
||||||
2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* po/af.po:
|
* po/af.po:
|
||||||
|
|
|
@ -2494,7 +2494,7 @@ gst_value_deserialize_fraction (GValue * dest, const char *s)
|
||||||
div = strstr (s, "/");
|
div = strstr (s, "/");
|
||||||
if (!div)
|
if (!div)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
tmp = strndup (s, (size_t) (div - s));
|
tmp = g_strndup (s, (size_t) (div - s));
|
||||||
num = atoi (tmp);
|
num = atoi (tmp);
|
||||||
free (tmp);
|
free (tmp);
|
||||||
den = atoi (div + 1);
|
den = atoi (div + 1);
|
||||||
|
|
Loading…
Reference in a new issue