Changes in uspace/lib/clui/tinput.c [f0da6855:6d5e378] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.c
rf0da6855 r6d5e378 104 104 static void tinput_display_tail(tinput_t *ti, size_t start, size_t pad) 105 105 { 106 wchar_t *dbuf = malloc((INPUT_MAX_SIZE + 1) * sizeof(wchar_t)); 107 if (!dbuf) 108 return; 106 wchar_t dbuf[INPUT_MAX_SIZE + 1]; 109 107 110 108 size_t sa; … … 148 146 149 147 console_flush(ti->console); 150 151 free(dbuf);152 148 } 153 149
Note:
See TracChangeset
for help on using the changeset viewer.