Commit b07c6616 authored by Michael J. Chudobiak's avatar Michael J. Chudobiak
Browse files

Minor file descriptor leak in testgtk

Added a missing fclose. Bug #578366.
parent 2c6db0ba
...@@ -189,6 +189,7 @@ load_file (const gchar *filename) ...@@ -189,6 +189,7 @@ load_file (const gchar *filename)
gtk_text_buffer_get_bounds (source_buffer, &start, &end); gtk_text_buffer_get_bounds (source_buffer, &start, &end);
gtk_text_buffer_apply_tag_by_name (info_buffer, "source", &start, &end); gtk_text_buffer_apply_tag_by_name (info_buffer, "source", &start, &end);
fclose (file);
} }
gboolean gboolean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment