Fixed memory leak.
This commit is contained in:
parent
198b70db0e
commit
26b1f5a914
@ -64,6 +64,7 @@ DEVMAN* devman_new(rdpdrPlugin* rdpdr)
|
||||
if (!devman->devices)
|
||||
{
|
||||
WLog_INFO(TAG, "ListDictionary_New failed!");
|
||||
free(devman);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user