diff --git a/ges/ges-asset.c b/ges/ges-asset.c index 77a45cfc43..e7f8e926cf 100644 --- a/ges/ges-asset.c +++ b/ges/ges-asset.c @@ -301,7 +301,7 @@ ges_asset_extract_default (GESAsset * asset, GError ** error) const gchar **names; values = g_malloc0 (sizeof (GValue) * n_params); - names = g_malloc0 (sizeof (gchar **) * n_params); + names = g_malloc0 (sizeof (gchar *) * n_params); for (i = 0; i < n_params; i++) { values[i] = params[i].value; diff --git a/ges/ges-timeline-element.c b/ges/ges-timeline-element.c index da6de4f60d..82ddad68f0 100644 --- a/ges/ges-timeline-element.c +++ b/ges/ges-timeline-element.c @@ -1145,7 +1145,7 @@ ges_timeline_element_copy (GESTimelineElement * self, gboolean deep) GValue *values; const gchar **names; values = g_malloc0 (sizeof (GValue) * n_specs); - names = g_malloc0 (sizeof (gchar **) * n_specs); + names = g_malloc0 (sizeof (gchar *) * n_specs); for (i = 0; i < n_params; i++) { values[i] = params[i].value;