Close the file after it's loaded (bug #395316).
2007-01-11 Richard Hult <richard@imendio.com> * demos/gtk-demo/main.c: (load_file): Close the file after it's loaded (bug #395316). svn path=/trunk/; revision=17132
This commit is contained in:
committed by
Richard Hult
parent
ea65504a9b
commit
5bc2f68a5c
@ -575,6 +575,8 @@ load_file (const gchar *filename)
|
||||
}
|
||||
}
|
||||
|
||||
fclose (file);
|
||||
|
||||
fontify ();
|
||||
|
||||
g_string_free (buffer, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user