remove_leading_path: use a strbuf for internal storage
[gitweb.git] / ref-filter.h
index 697b609064c0ce7a3a9f52b8217acf6bdb8a3a40..699798400b329a12bc5dfa09590853a18616f876 100644 (file)
@@ -32,7 +32,7 @@ struct ref_array_item {
        int flag;
        const char *symref;
        struct atom_value *value;
-       char *refname;
+       char refname[FLEX_ARRAY];
 };
 
 struct ref_array {