From: Carlos Garcia Campos Date: Wed, 23 Jan 2008 12:54:11 +0000 (+0000) Subject: Fix memory leak. X-Git-Tag: EVINCE_2_21_90~28 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b490fff8a6c6ab7bb23cc0f274e3150e7ab4471d;p=evince.git Fix memory leak. 2008-01-23 Carlos Garcia Campos * libdocument/ev-backends-manager.c: (ev_backends_manager_load): Fix memory leak. svn path=/trunk/; revision=2842 --- diff --git a/ChangeLog b/ChangeLog index a6bcc0e8..22d2e170 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-23 Carlos Garcia Campos + + * libdocument/ev-backends-manager.c: (ev_backends_manager_load): + + Fix memory leak. + 2008-01-23 Gil Forcada * shell/ev-window.c: (register_custom_actions): diff --git a/libdocument/ev-backends-manager.c b/libdocument/ev-backends-manager.c index 0f501a15..87f7fea4 100644 --- a/libdocument/ev-backends-manager.c +++ b/libdocument/ev-backends-manager.c @@ -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; }