close the file handle.
2007-10-27 Sven Neumann <sven@gimp.org> * app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load): close the file handle. svn path=/trunk/; revision=23978
This commit is contained in:
committed by
Sven Neumann
parent
d118a54683
commit
58e6c9ad4d
@ -878,6 +878,8 @@ gimp_text_buffer_load (GtkTextBuffer *buffer,
|
||||
g_message (_("Invalid UTF-8 data in file '%s'."),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
fclose (file);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user