Changeset 701 for branches/1.3/xcache.c


Ignore:
Timestamp:
2011-02-08T06:23:09+01:00 (3 years ago)
Author:
moo
Message:

merge from trunk: fix segv on shutdown when ionCube Loader is loaded

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

    • Property svn:mergeinfo changed
      /trunkmerged: 698
  • branches/1.3/xcache.c

    r680 r701  
    29662966    if (xc_zend_extension_faked) { 
    29672967        zend_extension *ext = zend_get_extension(XCACHE_NAME); 
    2968         if (ext->shutdown) { 
    2969             ext->shutdown(ext); 
    2970         } 
    2971         xc_zend_remove_extension(ext); 
     2968        if (ext) { 
     2969            if (ext->shutdown) { 
     2970                ext->shutdown(ext); 
     2971            } 
     2972            xc_zend_remove_extension(ext); 
     2973        } 
    29722974    } 
    29732975    UNREGISTER_INI_ENTRIES(); 
Note: See TracChangeset for help on using the changeset viewer.