mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +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>
|
||||
|
||||
* po/af.po:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue