From 26b1f5a91430ec5d8f0d2ce51ffa6d9db335acbe Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 28 Aug 2015 11:06:26 +0200 Subject: [PATCH] Fixed memory leak. --- channels/rdpdr/client/devman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/rdpdr/client/devman.c b/channels/rdpdr/client/devman.c index c33dacf71..2e1666204 100644 --- a/channels/rdpdr/client/devman.c +++ b/channels/rdpdr/client/devman.c @@ -64,6 +64,7 @@ DEVMAN* devman_new(rdpdrPlugin* rdpdr) if (!devman->devices) { WLog_INFO(TAG, "ListDictionary_New failed!"); + free(devman); return NULL; }