@@ -2096,23 +2096,23 @@ static mongoc_ssl_opt_t* php_phongo_make_ssl_opt(mongoc_uri_t* uri, zval* zoptio
2096
2096
static void php_phongo_free_ssl_opt (mongoc_ssl_opt_t * ssl_opt )
2097
2097
{
2098
2098
if (ssl_opt -> pem_file ) {
2099
- str_efree ( ssl_opt -> pem_file );
2099
+ efree (( char * ) ssl_opt -> pem_file );
2100
2100
}
2101
2101
2102
2102
if (ssl_opt -> pem_pwd ) {
2103
- str_efree ( ssl_opt -> pem_pwd );
2103
+ efree (( char * ) ssl_opt -> pem_pwd );
2104
2104
}
2105
2105
2106
2106
if (ssl_opt -> ca_file ) {
2107
- str_efree ( ssl_opt -> ca_file );
2107
+ efree (( char * ) ssl_opt -> ca_file );
2108
2108
}
2109
2109
2110
2110
if (ssl_opt -> ca_dir ) {
2111
- str_efree ( ssl_opt -> ca_dir );
2111
+ efree (( char * ) ssl_opt -> ca_dir );
2112
2112
}
2113
2113
2114
2114
if (ssl_opt -> crl_file ) {
2115
- str_efree ( ssl_opt -> crl_file );
2115
+ efree (( char * ) ssl_opt -> crl_file );
2116
2116
}
2117
2117
2118
2118
efree (ssl_opt );
@@ -2550,7 +2550,7 @@ static bool phongo_manager_set_auto_encryption_opts(php_phongo_manager_t* manage
2550
2550
phongo_throw_exception (PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC , "Expected \"keyVaultNamespace\" encryption option to contain a full collection name" );
2551
2551
2552
2552
if (pfree ) {
2553
- str_efree (key_vault_ns );
2553
+ efree (key_vault_ns );
2554
2554
}
2555
2555
2556
2556
goto cleanup ;
@@ -2562,7 +2562,7 @@ static bool phongo_manager_set_auto_encryption_opts(php_phongo_manager_t* manage
2562
2562
efree (coll_name );
2563
2563
2564
2564
if (pfree ) {
2565
- str_efree (key_vault_ns );
2565
+ efree (key_vault_ns );
2566
2566
}
2567
2567
}
2568
2568
@@ -2673,7 +2673,7 @@ static mongoc_client_encryption_opts_t* phongo_clientencryption_opts_from_zval(m
2673
2673
phongo_throw_exception (PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC , "Expected \"keyVaultNamespace\" encryption option to contain a full collection name" );
2674
2674
2675
2675
if (pfree ) {
2676
- str_efree (keyvault_namespace );
2676
+ efree (keyvault_namespace );
2677
2677
}
2678
2678
2679
2679
goto cleanup ;
@@ -2684,7 +2684,7 @@ static mongoc_client_encryption_opts_t* phongo_clientencryption_opts_from_zval(m
2684
2684
efree (coll_name );
2685
2685
2686
2686
if (pfree ) {
2687
- str_efree (keyvault_namespace );
2687
+ efree (keyvault_namespace );
2688
2688
}
2689
2689
}
2690
2690
@@ -2894,7 +2894,7 @@ static mongoc_client_encryption_encrypt_opts_t* phongo_clientencryption_encrypt_
2894
2894
mongoc_client_encryption_encrypt_opts_set_keyaltname (opts , keyaltname );
2895
2895
2896
2896
if (pfree ) {
2897
- str_efree (keyaltname );
2897
+ efree (keyaltname );
2898
2898
}
2899
2899
}
2900
2900
@@ -2907,7 +2907,7 @@ static mongoc_client_encryption_encrypt_opts_t* phongo_clientencryption_encrypt_
2907
2907
mongoc_client_encryption_encrypt_opts_set_algorithm (opts , algorithm );
2908
2908
2909
2909
if (pfree ) {
2910
- str_efree (algorithm );
2910
+ efree (algorithm );
2911
2911
}
2912
2912
}
2913
2913
0 commit comments