Diff for /embedaddon/php/ext/com_dotnet/com_typeinfo.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:53 version 1.1.1.2, 2012/05/29 12:34:36
Line 187  PHPAPI int php_com_import_typelib(ITypeLib *TL, int mo Line 187  PHPAPI int php_com_import_typelib(ITypeLib *TL, int mo
                                 const_name = php_com_olestring_to_string(bstr_ids, &c.name_len, codepage TSRMLS_CC);                                  const_name = php_com_olestring_to_string(bstr_ids, &c.name_len, codepage TSRMLS_CC);
                                 c.name = zend_strndup(const_name, c.name_len);                                  c.name = zend_strndup(const_name, c.name_len);
                                 efree(const_name);                                  efree(const_name);
                                   if(c.name == NULL) {
                                           ITypeInfo_ReleaseVarDesc(TypeInfo, pVarDesc);
                                           continue;
                                   }
                                 c.name_len++; /* include NUL */                                  c.name_len++; /* include NUL */
                                 SysFreeString(bstr_ids);                                  SysFreeString(bstr_ids);
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>