Loading block/vvfat.c +3 −1 Original line number Diff line number Diff line Loading @@ -787,6 +787,8 @@ static int read_directory(BDRVVVFATState* s, int mapping_index) s->current_mapping->path=buffer; s->current_mapping->read_only = (st.st_mode & (S_IWUSR | S_IWGRP | S_IWOTH)) == 0; } else { g_free(buffer); } } closedir(dir); Loading Loading
block/vvfat.c +3 −1 Original line number Diff line number Diff line Loading @@ -787,6 +787,8 @@ static int read_directory(BDRVVVFATState* s, int mapping_index) s->current_mapping->path=buffer; s->current_mapping->read_only = (st.st_mode & (S_IWUSR | S_IWGRP | S_IWOTH)) == 0; } else { g_free(buffer); } } closedir(dir); Loading