File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -2107,6 +2107,7 @@ PHP_FUNCTION(ldap_set_rebind_proc)
2107
2107
/* unregister rebind procedure */
2108
2108
if (ld -> rebindproc != NULL ) {
2109
2109
zval_dtor (ld -> rebindproc );
2110
+ FREE_ZVAL (ld -> rebindproc );
2110
2111
ld -> rebindproc = NULL ;
2111
2112
ldap_set_rebind_proc (ld -> link , NULL , NULL );
2112
2113
}
Original file line number Diff line number Diff line change @@ -217,14 +217,26 @@ array(2) {
217
217
[1]=>
218
218
resource(%d) of type (ldap result)
219
219
}
220
- NULL
221
- NULL
220
+ array(1) {
221
+ ["count"]=>
222
+ int(0)
223
+ }
224
+ array(1) {
225
+ ["count"]=>
226
+ int(0)
227
+ }
222
228
array(2) {
223
229
[0]=>
224
230
resource(%d) of type (ldap result)
225
231
[1]=>
226
232
resource(%d) of type (ldap result)
227
233
}
228
- NULL
229
- NULL
234
+ array(1) {
235
+ ["count"]=>
236
+ int(0)
237
+ }
238
+ array(1) {
239
+ ["count"]=>
240
+ int(0)
241
+ }
230
242
===DONE===
You can’t perform that action at this time.
0 commit comments