Skip to content

Commit a38e884

Browse files
authored
fix google char memory leak (arendst#20995)
1 parent d084614 commit a38e884

File tree

2 files changed

+283
-256
lines changed

2 files changed

+283
-256
lines changed

tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -3456,9 +3456,9 @@ int WebQuery(char *buffer) {
34563456
if (!assume_json) { ResponseAppend_P(PSTR("\"")); }
34573457
ResponseJsonEnd();
34583458
#ifdef USE_SCRIPT
3459-
extern uint8_t tasm_cmd_activ;
34603459
// recursive call must be possible in this case
3461-
tasm_cmd_activ = 0;
3460+
void script_setaflg(uint8_t flg);
3461+
script_setaflg(0);
34623462
#endif // USE_SCRIPT
34633463
status = WEBCMND_VALID_RESPONSE;
34643464
} else {

0 commit comments

Comments
 (0)