Unlikely to be triggered. And fix typo at the same time
CID #1415464
/* Returns: (transfer full): a #GList of #GstStructure */
static GList *
-_lines_get_strutures (gchar ** lines)
+_lines_get_structures (gchar ** lines)
{
gint i;
GList *structures = NULL;
+ if (lines == NULL)
+ return NULL;
+
for (i = 0; lines[i]; i++) {
GstStructure *structure;
}
done:
- if (lines)
- g_strfreev (lines);
+ g_strfreev (lines);
return structures;
return NULL;
}
- return _lines_get_strutures (lines);
+ return _lines_get_structures (lines);
}
/**
if (lines == NULL)
return NULL;
- return _lines_get_strutures (lines);
+ return _lines_get_structures (lines);
}
static gboolean