diff options
Diffstat (limited to 'source3/lib/util_hnd.c')
-rw-r--r-- | source3/lib/util_hnd.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/lib/util_hnd.c b/source3/lib/util_hnd.c index 7a14437482..36bacad59b 100644 --- a/source3/lib/util_hnd.c +++ b/source3/lib/util_hnd.c @@ -101,12 +101,11 @@ static void create_pol_hnd(POLICY_HND *hnd) /**************************************************************************** initialise policy handle states... ****************************************************************************/ -void init_policy_hnd(int num_pol_hnds) +BOOL init_policy_hnd(int num_pol_hnds) { bmap = bitmap_allocate(num_pol_hnds); - if (!bmap) { - exit_server("out of memory in init_policy_hnd\n"); - } + + return bmap != NULL; } /**************************************************************************** |