Commit 359714e3 authored by Per Cederqvist's avatar Per Cederqvist

(free_conference): Call l2g_destruct.

(free_person): Likewise.
parent 8cd65570
/*
* $Id: memory.c,v 0.30 1999/01/13 12:08:30 byers Exp $
* $Id: memory.c,v 0.31 1999/04/05 16:15:34 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
#endif
static const char *
rcsid = "$Id: memory.c,v 0.30 1999/01/13 12:08:30 byers Exp $";
rcsid = "$Id: memory.c,v 0.31 1999/04/05 16:15:34 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -109,6 +109,7 @@ free_conference(Conference *confp)
conference_cnt--;
clear_conference(confp);
l2g_destruct(&confp->texts);
sfree(confp);
}
......@@ -381,6 +382,7 @@ free_person(Person *person)
person_cnt--;
clear_person(person);
l2g_destruct(&person->created_texts);
sfree(person);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment