diff --git a/src/kernel/faction.c b/src/kernel/faction.c index 4348b6214..193a582ae 100755 --- a/src/kernel/faction.c +++ b/src/kernel/faction.c @@ -94,6 +94,10 @@ void free_faction(faction * f) free(f->banner); free(f->passw); free(f->name); + if (f->seen_factions) { + ql_free(f->seen_factions); + f->seen_factions = 0; + } while (f->attribs) { a_remove(&f->attribs, f->attribs);