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