* Sherlock Library -- IP address access lists
*
* (c) 1997--2001 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
#include "lib/lib.h"
ipaccess_init(void)
{
/* Cannot use cfg_malloc() here as the pool can be uninitialized now */
- struct ipaccess_list *l = malloc(sizeof(*l));
+ struct ipaccess_list *l = xmalloc(sizeof(*l));
init_list(&l->l);
return l;