pull: Fix leak of refs_to_fetch

Closes: #333
Approved by: giuseppe
This commit is contained in:
Alexander Larsson 2016-06-10 12:13:23 +02:00 committed by Atomic Bot
parent c9c4ab851e
commit f6b70a32e6

View File

@ -2182,7 +2182,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
guint64 end_time;
OstreeRepoPullFlags flags = 0;
const char *dir_to_pull = NULL;
char **refs_to_fetch = NULL;
g_autofree char **refs_to_fetch = NULL;
char **override_commit_ids = NULL;
GSource *update_timeout = NULL;
gboolean disable_static_deltas = FALSE;