Changeset 1551 in svn for trunk/xcache_globals.h


Ignore:
Timestamp:
2014-11-08T07:38:45Z (3 years ago)
Author:
Xuefer
Message:

merge stack/vector to 1 impl, avoid possible memory leak using malloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache_globals.h

    r1381 r1551  
    1 #include "util/xc_stack.h"
     1#include "util/xc_vector.h"
    22
    33ZEND_BEGIN_MODULE_GLOBALS(xcache)
     
    1818    pid_t holds_pid;
    1919#endif
    20     xc_stack_t *php_holds;
     20    xc_vector_t *php_holds;
    2121    zend_uint php_holds_size;
    22     xc_stack_t *var_holds;
     22    xc_vector_t *var_holds;
    2323    zend_uint var_holds_size;
    2424    time_t request_time;
Note: See TracChangeset for help on using the changeset viewer.