AP_Scripting: Generator: fix docs generator aliasing

This commit is contained in:
Iampete1 2022-06-29 11:35:34 +01:00 committed by Andrew Tridgell
parent a647cd9b8f
commit ea4f050aa8
1 changed files with 3 additions and 5 deletions

View File

@ -2552,13 +2552,11 @@ void emit_docs(struct userdata *node, int is_userdata, int emit_creation) {
}
emit_docs_method(name, alias->alias, method);
}
alias = alias->next;
}
fprintf(docs, "\n");
free(name);
}
node = node->next;
}
}