Skip to content
Snippets Groups Projects
Commit 0e805f8b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(do_create_conf): This can leak conference numbers. Write a comment

	about it.
parent e225ec83
Branches
Tags
No related merge requests found
/*
* $Id: conference.c,v 0.62 2001/09/22 13:41:25 byers Exp $
* $Id: conference.c,v 0.63 2001/09/29 20:11:24 ceder Exp $
* Copyright (C) 1991-2000 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
static const char *
rcsid = "$Id: conference.c,v 0.62 2001/09/22 13:41:25 byers Exp $";
rcsid = "$Id: conference.c,v 0.63 2001/09/29 20:11:24 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -312,6 +312,11 @@ do_create_conf(String name,
creator,
TRUE) != OK)
{
/* FIXME: Conf_no leak: We create a conference, check the
aux-items, determine that the aux-items are bogus, and
immediately delete the conference. This leaks a conference
number. We can live with that, but it isn't pretty. */
cached_delete_conf(conf_no);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment