]> www.fi.muni.cz Git - evince.git/commitdiff
Fix memory leak.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 23 Jan 2008 12:54:11 +0000 (12:54 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 23 Jan 2008 12:54:11 +0000 (12:54 +0000)
2008-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
* libdocument/ev-backends-manager.c: (ev_backends_manager_load):
Fix memory leak.

svn path=/trunk/; revision=2842

ChangeLog
libdocument/ev-backends-manager.c

index a6bcc0e8234acd5c55dec13cfc6eb056cdbeb6e3..22d2e170adb2ebb3547c828bdf7cbe83d68868f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * libdocument/ev-backends-manager.c: (ev_backends_manager_load):
+
+       Fix memory leak.
+       
 2008-01-23  Gil Forcada <gilforcada@guifi.net>
 
        * shell/ev-window.c: (register_custom_actions):
index 0f501a15397874b7795212eb0418d5d68a75b8e7..87f7fea414ae489d1e6222612beb5d32b2fabc3e 100644 (file)
@@ -137,6 +137,8 @@ ev_backends_manager_load (void)
                ev_backends_list = g_list_prepend (ev_backends_list, info);
        }
 
+       g_dir_close (dir);
+
        return TRUE;
 }