]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/ls-remote.c
Merge branch 'gc/branch-recurse-submodules-fix'
[thirdparty/git.git] / builtin / ls-remote.c
index 44448fa61d168d7b846f5e241b58e0e6cce9e128..d856085e9414a2bea070cbe9c84268c66158c33a 100644 (file)
@@ -155,6 +155,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)
 
        ref_array_clear(&ref_array);
        if (transport_disconnect(transport))
-               return 1;
+               status = 1;
+       transport_ls_refs_options_release(&transport_options);
        return status;
 }