diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-08-25 13:07:29 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-08-25 13:11:22 +0200 |
commit | 3324bb893e965010cdac9b029a74f26072b5f540 (patch) | |
tree | 819598908eefee4d9e09a43ae056b936514a31d7 | |
parent | 063082043adf6fd5363078a3c04f7977ac22d73d (diff) | |
download | php-git-3324bb893e965010cdac9b029a74f26072b5f540.tar.gz |
Avoid double-free
As of commit b2e3fd1[1] the `authid.User` is no longer newly allocated,
so we must not free it.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=b2e3fd1e691b1dc82aaaf4150461db97bd5acf4a>
-rw-r--r-- | ext/com_dotnet/com_com.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index af72db63b1..c9962835d1 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -221,7 +221,6 @@ PHP_FUNCTION(com_create_instance) if (server_name) { if (info.pwszName) efree(info.pwszName); - if (authid.User) efree(authid.User); } efree(moniker); |