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; }