Update librados.cc

Here I think should check the pointer, to avoid potential risk