mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst/gstplugin.c: Replace strdup by g_strdup as suggested by Ser-ver.
Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_load_file): Replace strdup by g_strdup as suggested by Ser-ver.
This commit is contained in:
parent
9bb3d2f403
commit
80d706f806
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-01-05 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstplugin.c: (gst_plugin_load_file):
|
||||
Replace strdup by g_strdup.
|
||||
|
||||
2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* docs/pwg/advanced-types.xml:
|
||||
|
|
|
@ -417,7 +417,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
|
|||
plugin = g_object_new (GST_TYPE_PLUGIN, NULL);
|
||||
|
||||
plugin->module = module;
|
||||
plugin->filename = strdup (filename);
|
||||
plugin->filename = g_strdup (filename);
|
||||
plugin->basename = g_path_get_basename (filename);
|
||||
plugin->file_mtime = file_status.st_mtime;
|
||||
plugin->file_size = file_status.st_size;
|
||||
|
|
Loading…
Reference in a new issue