Changeset f6aa3a6 in git


Ignore:
Timestamp:
2012-12-12T07:41:46Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
2b3b0d2
Parents:
f67fa76
Message:

fixs crash when cache is too small on start up

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1194 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mod_cacher/xc_cacher.c

    r117d724 rf6aa3a6  
    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.