Skip to content

Commit

Permalink
[tidy] plug leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tstack committed Feb 18, 2025
1 parent 8688ce8 commit fd40fc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/view_curses.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1339,8 +1339,9 @@ screen_curses::create(const notcurses_options& options)
check_experimental("mouse")
|| lnav_config.lc_mouse_mode == lnav_mouse_mode::enabled);

log_info("notcurses detected terminal: %s",
notcurses_detected_terminal(nc));
auto_mem<char> term_name;
term_name = notcurses_detected_terminal(nc);
log_info("notcurses detected terminal: %s", term_name.in());

return Ok(screen_curses(nc));
}
Expand Down

0 comments on commit fd40fc9

Please sign in to comment.