]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/ls-remote.c
Merge branch 'ep/maint-equals-null-cocci'
[thirdparty/git.git] / builtin / ls-remote.c
index 87c192f7c004cd13894dbb08f32244eb38ea8dc0..df44e5cc0d1171334a846817ef19e6f98feca48f 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;
 }