diff options
| author | Matthew Leeds <matthew.leeds@endlessm.com> | 2020-06-15 17:00:15 -0700 |
|---|---|---|
| committer | Matthew Leeds <matthew.leeds@endlessm.com> | 2020-06-15 17:00:42 -0700 |
| commit | 249513c294cd8ab12306bb38fb6c7b91840b7b0b (patch) | |
| tree | f694765ca8b099c7d4af1f89e80ec485a5e30736 | |
| parent | 85a1dca8d709ca63607d6a435a321e48e2892f50 (diff) | |
| download | flatpak-pull-untrusted-error.tar.gz | |
dir: Fix an error path in pull_untrusted_localpull-untrusted-error
GError conventions require we set the error pointer on error code paths.
| -rw-r--r-- | common/flatpak-dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 5d8a4461..47acdea4 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -5546,7 +5546,7 @@ flatpak_dir_pull_untrusted_local (FlatpakDir *self, return FALSE; if (current_checksum != NULL && - !ostree_repo_load_commit (self->repo, current_checksum, &old_commit, NULL, NULL)) + !ostree_repo_load_commit (self->repo, current_checksum, &old_commit, NULL, error)) return FALSE; src_repo = ostree_repo_new (path_file); |
