mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
Issue #40: Close file when it's no longer needed
This commit is contained in:
parent
dff8906402
commit
9699dfce07
@ -266,6 +266,7 @@ int main(int argc, char ** argv)
|
||||
printf("%s: ", filename);
|
||||
}
|
||||
detect(handle, f, show_lang, verbose);
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
uchardet_delete(handle);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user