components/php-5_3/php-sapi/patches/240_php-Zend-zend_ts_hash.patch
changeset 4987 6a82655eda42
parent 4986 90a869b3f47a
child 4988 4b69c7c7e09b
equal deleted inserted replaced
4986:90a869b3f47a 4987:6a82655eda42
     1 From php community:
       
     2 BUG: https://bugs.php.net/bug.php?id=68676
       
     3 CODE: http://git.php.net/?p=php-src.git;a=commit;h=24125f0f26f3787c006e4a51611ba33ee3b841cb
       
     4 Created for php 5.3 based on code from the community bug.
       
     5 
       
     6 
       
     7 --- php-5.3.29/Zend/zend_ts_hash.c_orig	2014-08-13 12:22:50.000000000 -0700
       
     8 +++ php-5.3.29/Zend/zend_ts_hash.c	2015-05-20 16:03:20.370320770 -0700
       
     9 @@ -151,7 +151,7 @@
       
    10  
       
    11  #ifdef ZTS
       
    12  	tsrm_mutex_free(ht->mx_reader);
       
    13 -	tsrm_mutex_free(ht->mx_reader);
       
    14 +	tsrm_mutex_free(ht->mx_writer);
       
    15  #endif
       
    16  }
       
    17