[php-i18n-commits] cvs commit: php4/ext/mbstring mbstring.c

Back to archive index

Tsukada ttsuk****@users*****
2002年 6月 10日 (月) 20:39:38 JST


ttsukada    02/06/10 20:39:38

  Modified:    ext/mbstring mbstring.c
  Log:
  fixed leaks in set_property_handler_ro()
  
  Revision  Changes    Path
  1.15      +2 -1      php4/ext/mbstring/mbstring.c
  
  Index: mbstring.c
  ===================================================================
  RCS file: /cvsroot/php-i18n/php4/ext/mbstring/mbstring.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mbstring.c	10 Jun 2002 11:32:40 -0000	1.14
  +++ mbstring.c	10 Jun 2002 11:39:38 -0000	1.15
  @@ -384,7 +384,8 @@
   	zend_llist_element *element = property_reference->elements_list->head;
   	zend_overloaded_element *property = (zend_overloaded_element *)element->data;
   
  -	php_error(E_WARNING, "%s is protected member. (read only)", Z_STRVAL(property->element));
  +	php_error(E_WARNING, "\"%s\" is protected member. (read only)", Z_STRVAL(property->element));
  +	zval_dtor(&property->element);
   	return FAILURE;
   }
   
  
  
  



php-i18n-commits メーリングリストの案内
Back to archive index