Changeset 1194 in svn for trunk/mod_cacher/xc_cacher.c


Ignore:
Timestamp:
2012-12-12T07:41:46Z (3 years ago)
Author:
Xuefer
Message:

fixs crash when cache is too small on start up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1190 r1194  
    26112611            /* do NOT touch cached data */
    26122612            shm = cache->shm;
    2613             cache->shm->handlers->memdestroy(cache->allocator);
     2613            if (shm) {
     2614                cache->shm->handlers->memdestroy(cache->allocator);
     2615            }
    26142616        }
    26152617    }
Note: See TracChangeset for help on using the changeset viewer.