Merge branch 'sg/cocci-move-array'
[gitweb.git] / list-objects-filter-options.c
index 5c47e2b00243c1751428193ff4453a073d44e6c2..6a3cc985c45e751dd0c3f37880cf0bfd205ef088 100644 (file)
@@ -94,7 +94,7 @@ int opt_parse_list_objects_filter(const struct option *opt,
        struct list_objects_filter_options *filter_options = opt->value;
 
        if (unset || !arg) {
-               list_objects_filter_release(filter_options);
+               list_objects_filter_set_no_filter(filter_options);
                return 0;
        }