summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhaedrus Leeds <mwleeds@protonmail.com>2021-05-02 20:50:31 -0500
committerAlexander Larsson <alexander.larsson@gmail.com>2021-05-04 10:23:13 +0200
commit284510eabb0c2f2c48a41082bac23960b9ecd1e8 (patch)
treef4dd92d1f2365795fbb5464f9f5fc96255f98c84
parent75e60c5d8edc81640168df287b4de1f12e96578a (diff)
downloadflatpak-284510eabb0c2f2c48a41082bac23960b9ecd1e8.tar.gz
remote-info: Fix memory leak of branch
-rw-r--r--app/flatpak-builtins-remote-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/flatpak-builtins-remote-info.c b/app/flatpak-builtins-remote-info.c
index 8ae82559..1cd36a8c 100644
--- a/app/flatpak-builtins-remote-info.c
+++ b/app/flatpak-builtins-remote-info.c
@@ -280,7 +280,7 @@ flatpak_builtin_remote_info (int argc, char **argv, GCancellable *cancellable, G
print_aligned (len, _("ID:"), id);
print_aligned (len, _("Ref:"), flatpak_decomposed_get_ref (ref));
print_aligned_take (len, _("Arch:"), flatpak_decomposed_dup_arch (ref));
- print_aligned (len, _("Branch:"), flatpak_decomposed_dup_branch (ref));
+ print_aligned_take (len, _("Branch:"), flatpak_decomposed_dup_branch (ref));
if (version != NULL)
print_aligned (len, _("Version:"), version);
if (license != NULL)