Skip to content

Commit

Permalink
Fixed segfault when reading from stdin to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Aug 8, 2013
1 parent a8b4bb4 commit c072496
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gdashboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ delete_sub_list (GSubList * sub_list)
void
free_holder (GHolder ** holder)
{
if ((*holder) == NULL)
return;

GSubList *sub_list;
int i, j;
for (i = 0; i < TOTAL_MODULES; i++) {
Expand Down

0 comments on commit c072496

Please sign in to comment.