Fix for bug-406

Fix for bug-406 in dcb_alloc()