Commit dae93fe
committed
Fix endless recursion on webui_malloc in debug mode.
We're sure the length of the debug message of _webui_malloc < 256,
so in that case we have enough room to print the debug message
without allocating memory with _webui_malloc, which prevents an
endless recursion to _webui_log.
Signed-off-by: Hans Dijkema <hans@dijkewijk.nl>1 parent 2a9c91c commit dae93fe
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
731 | 733 | | |
732 | 734 | | |
733 | 735 | | |
734 | 736 | | |
735 | 737 | | |
736 | 738 | | |
737 | | - | |
| 739 | + | |
738 | 740 | | |
739 | 741 | | |
740 | 742 | | |
| |||
0 commit comments