Fix some missing va_ends

Found by Coverity.

https://bugzilla.gnome.org/show_bug.cgi?id=689496
This commit is contained in:
Jasper St. Pierre
2012-11-30 21:35:58 -05:00
parent 039ba910f0
commit fbcab5f097
3 changed files with 10 additions and 7 deletions

View File

@ -776,15 +776,16 @@ clutter_list_model_new (guint n_columns,
{
g_warning ("%s: Invalid type %s\n", G_STRLOC, g_type_name (type));
g_object_unref (model);
return NULL;
model = NULL;
goto out;
}
_clutter_model_set_column_type (model, i, type);
_clutter_model_set_column_name (model, i, name);
}
out:
va_end (args);
return model;
}