@@ -696,7 +696,7 @@ static PHPDBG_COMMAND(register) /* {{{ */
696
696
phpdbg_error (
697
697
"The requested name (%s) is already in use" , lcname );
698
698
}
699
-
699
+
700
700
efree (lcname );
701
701
} break ;
702
702
@@ -919,11 +919,10 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
919
919
size_t cmd_len = input -> length ;
920
920
const char * start = (const char * ) input -> start ;
921
921
size_t offset = strlen (cmd )+ (sizeof (" " )- 1 );
922
-
922
+
923
923
if (zend_hash_exists (& PHPDBG_G (registered ), cmd , strlen (cmd )+ 1 )) {
924
924
zval fname , * fretval , * farg = NULL ;
925
925
zend_fcall_info fci ;
926
- zend_fcall_info_cache fcic ;
927
926
928
927
zval * * params [1 ];
929
928
@@ -961,7 +960,7 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
961
960
}
962
961
return SUCCESS ;
963
962
}
964
-
963
+
965
964
return FAILURE ;
966
965
} /* }}} */
967
966
@@ -970,11 +969,11 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
970
969
int ret = SUCCESS ;
971
970
972
971
phpdbg_input_t * input = phpdbg_read_input (TSRMLS_C );
973
-
972
+
974
973
if (input && input -> length > 0L ) {
975
974
do {
976
975
phpdbg_do_cmd_ex (phpdbg_prompt_commands , input TSRMLS_CC );
977
-
976
+
978
977
switch (ret = phpdbg_do_cmd (phpdbg_prompt_commands , input -> string , input -> length TSRMLS_CC )) {
979
978
case FAILURE :
980
979
if (!(PHPDBG_G (flags ) & PHPDBG_IS_QUITTING )) {
@@ -994,10 +993,10 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
994
993
goto out ;
995
994
}
996
995
}
997
-
996
+
998
997
phpdbg_destroy_input (& input TSRMLS_CC );
999
998
} while ((input = phpdbg_read_input (TSRMLS_C )) && (input -> length > 0L ));
1000
-
999
+
1001
1000
if (!input -> length )
1002
1001
goto last ;
1003
1002
0 commit comments