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:
Richard Hult
2007-01-11 14:26:51 +00:00
committed by Richard Hult
parent ea65504a9b
commit 5bc2f68a5c
2 changed files with 7 additions and 0 deletions

View File

@ -575,6 +575,8 @@ load_file (const gchar *filename)
}
}
fclose (file);
fontify ();
g_string_free (buffer, TRUE);