1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00
This commit is contained in:
Dave Davenport 2015-12-03 22:48:30 +01:00
parent 697abdfdfc
commit eaa553bfd5
3 changed files with 36 additions and 35 deletions

View file

@ -302,7 +302,9 @@ static void dmenu_mode_init ( Mode *sw )
g_free ( estr );
}
pd->cmd_list = get_dmenu ( fd == NULL ? stdin : fd, &( pd->cmd_list_length ) );
if(fd != NULL ) fclose(fd);
if ( fd != NULL ) {
fclose ( fd );
}
}
static int dmenu_token_match ( const Mode *sw, char **tokens, int not_ascii, int case_sensitive, unsigned int index )

View file

@ -73,6 +73,5 @@ int main ( int argc, char ** argv )
TASSERT ( str[0] == '/' );
g_free ( str );
g_strfreev ( list );
}