1 diff --git a/libdjvu/DataPool.cpp b/libdjvu/DataPool.cpp
2 index 5fcbedf..4c2eaf0 100644
3 --- a/libdjvu/DataPool.cpp
4 +++ b/libdjvu/DataPool.cpp
5 @@ -791,6 +791,8 @@ DataPool::create(const GP<DataPool> & pool, int start, int length)
6 DEBUG_MSG("DataPool::DataPool: pool=" << (void *)((DataPool *)pool) << " start=" << start << " length= " << length << "\n");
9 + if (!pool) G_THROW( ERR_MSG("DataPool.zero_DataPool") );
11 DataPool *xpool=new DataPool();
12 GP<DataPool> retval=xpool;