From 1cedbd5cd15f15d34905a107649da3e6ae43e281 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 28 Aug 2015 11:01:34 +0200 Subject: [PATCH] Fixed memory leak. --- channels/drive/client/drive_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/drive/client/drive_file.c b/channels/drive/client/drive_file.c index 7f810e016..7aec1c280 100644 --- a/channels/drive/client/drive_file.c +++ b/channels/drive/client/drive_file.c @@ -609,6 +609,7 @@ BOOL drive_file_set_information(DRIVE_FILE* file, UINT32 FsInformationClass, UIN if (!fullpath) { WLog_ERR(TAG, "drive_file_combine_fullpath failed!"); + free (s); return FALSE; } free(s);