Skip to content

Commit

Permalink
Make certain the active module label is freed
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Jul 30, 2013
1 parent d1899ae commit a8b4bb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ update_active_module (WINDOW * header_win, GModule current)
mvwprintw (header_win, 0, col - strlen (lbl) - 1, "%s", lbl);
wattroff (header_win, COLOR_PAIR (BLUE_GREEN));
wrefresh (header_win);

free (lbl);
}

/* render general statistics */
Expand Down

0 comments on commit a8b4bb4

Please sign in to comment.