Changeset 04c478d in git


Ignore:
Timestamp:
2007-02-13T06:09:00Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
cd6b23f
Parents:
67ebecc
Message:

fixed #67, to success compile on OOM

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r69120fa r04c478d  
    13241324    if (newlycompiled) {
    13251325        xc_free_php(&php TSRMLS_CC);
    1326         xc_sandbox_free(&sandbox, 0 TSRMLS_CC);
    13271326    }
    13281327
     
    13371336            h = NULL;
    13381337        }
     1338        if (newlycompiled) {
     1339            xc_sandbox_free(&sandbox, 0 TSRMLS_CC);
     1340        }
    13391341        return xc_compile_restore(stored_xce, h TSRMLS_CC);
     1342    }
     1343    else {
     1344        if (newlycompiled) {
     1345            /* install it */
     1346            CG(active_op_array) = op_array;
     1347            xc_sandbox_free(&sandbox, 1 TSRMLS_CC);
     1348        }
    13401349    }
    13411350    return op_array;
Note: See TracChangeset for help on using the changeset viewer.