[Libreoffice-commits] core.git: pyuno/source
Julien Nabet
serval2412 at yahoo.fr
Mon Mar 4 12:29:32 PST 2013
pyuno/source/module/pyuno_dlopenwrapper.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 76fb62755b7b7cafe072e62443a5de852caf1da9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Mar 4 21:26:36 2013 +0100
coverity#983056: Resource leak
Change-Id: Ic40776f3cec5139e7f7accb4985533e78bd7c158
diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c
index 8176656..c726635 100644
--- a/pyuno/source/module/pyuno_dlopenwrapper.c
+++ b/pyuno/source/module/pyuno_dlopenwrapper.c
@@ -68,6 +68,7 @@ static void * load(void * address, char const * symbol) {
}
func = dlsym(h, symbol);
if (func == NULL) {
+ dlclose(h);
abort();
}
return func;
More information about the Libreoffice-commits
mailing list