Commit e225ec83 authored by Per Cederqvist's avatar Per Cederqvist

(create_person_generic): This can leak conference numbers. Write a

	comment about it.
parent 42dfdee7
/*
* $Id: person.c,v 0.59 1999/07/10 22:38:41 ceder Exp $
* $Id: person.c,v 0.60 2001/09/29 20:11:05 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
#endif
static const char *
rcsid = "$Id: person.c,v 0.59 1999/07/10 22:38:41 ceder Exp $";
rcsid = "$Id: person.c,v 0.60 2001/09/29 20:11:05 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -670,6 +670,11 @@ create_person_generic ( const String name,
new_user,
TRUE) != OK)
{
/* FIXME: Conf_no leak: We create a person, check the
aux-items, determine that the aux-items are bogus, and
immediately delete the person. This leaks a conference
number. We can live with that, but it isn't pretty. */
cached_delete_conf(new_user);
cached_delete_person(new_user);
......
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