[gtk+] Minor file descriptor leak in testgtk
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Minor file descriptor leak in testgtk
- Date: Sat, 11 Apr 2009 13:44:04 -0400 (EDT)
commit b07c6616f88847f07dc4c441d2e93e6769462c69
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Sat Apr 11 13:42:14 2009 -0400
Minor file descriptor leak in testgtk
Added a missing fclose. Bug #578366.
---
demos/testgtk/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/demos/testgtk/main.c b/demos/testgtk/main.c
index f21c0f8..69c872a 100644
--- a/demos/testgtk/main.c
+++ b/demos/testgtk/main.c
@@ -189,6 +189,7 @@ load_file (const gchar *filename)
gtk_text_buffer_get_bounds (source_buffer, &start, &end);
gtk_text_buffer_apply_tag_by_name (info_buffer, "source", &start, &end);
+ fclose (file);
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]