From 0dae05678b222a916948bb310ec88fe6688b2fe8 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 28 Aug 2013 16:22:35 +0200 Subject: [PATCH] Fixed coverity issue 1047619 --- libfreerdp/common/addin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfreerdp/common/addin.c b/libfreerdp/common/addin.c index 07680aa0e..9e40f6ac7 100644 --- a/libfreerdp/common/addin.c +++ b/libfreerdp/common/addin.c @@ -143,6 +143,7 @@ void* freerdp_load_dynamic_addin(LPCSTR pszFileName, LPCSTR pszPath, LPCSTR pszE if (entry) return entry; + FreeLibrary(library); return entry; }