mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix possible segfault (this one came up when a method could not be found).
Add a couple of headers used by another file that is not yet ready to commit.
This commit is contained in:
parent
7ca3d7cf7c
commit
f27387c68c
@ -316,7 +316,9 @@ static union _zend_function *com_method_get(zval *object, char *name, int len TS
|
||||
ITypeComp_Release(bindptr.lptcomp);
|
||||
break;
|
||||
}
|
||||
ITypeInfo_Release(TI);
|
||||
if (TI) {
|
||||
ITypeInfo_Release(TI);
|
||||
}
|
||||
}
|
||||
ITypeComp_Release(comp);
|
||||
efree(olename);
|
||||
|
@ -24,7 +24,9 @@
|
||||
#define _WIN32_DCOM
|
||||
#define COBJMACROS
|
||||
#include <ocidl.h>
|
||||
#include "oleauto.h"
|
||||
#include <oleauto.h>
|
||||
#include <unknwn.h>
|
||||
#include <dispex.h>
|
||||
#include "win32/winutil.h"
|
||||
|
||||
/* brain-death in winutil.h defines the macro to hide the useful function... */
|
||||
|
Loading…
Reference in New Issue
Block a user