builder: Avoid reusing set GError

my_error was used twice, without clearing inbetween, which can
cause issues.
tingping/wmclass
Alexander Larsson 2016-02-08 16:21:28 +01:00
parent 32e9502675
commit 9c6d6242a9
1 changed files with 1 additions and 0 deletions

View File

@ -1707,6 +1707,7 @@ builder_manifest_create_platform (BuilderManifest *self,
g_propagate_error (error, g_steal_pointer (&my_error));
return FALSE;
}
g_clear_error (&my_error);
if (g_file_info_get_file_type (info) == G_FILE_TYPE_DIRECTORY)
{