From 8c5cbed7bc369b1f561bd01171b9336a38c294ac Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 9 Aug 2006 13:22:49 +0000 Subject: [PATCH] Fix leak in test program. --- test/api/testlib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/api/testlib.c b/test/api/testlib.c index 4edb448..a068375 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,4 +1,4 @@ -/* $Id: testlib.c,v 1.33 2006-06-28 09:38:17 adam Exp $ +/* $Id: testlib.c,v 1.34 2006-08-09 13:22:49 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -76,8 +76,8 @@ ZebraService tl_start_up(char *cfgname, int argc, char **argv) #if HAVE_SYS_RESOURCE_H #if HAVE_SYS_TIME_H struct rlimit rlim; - rlim.rlim_cur = 20; - rlim.rlim_max = 20; + rlim.rlim_cur = 60; + rlim.rlim_max = 60; setrlimit(RLIMIT_CPU, &rlim); #endif #endif -- 1.7.10.4