Skip to content

Comments

fixed from PVS-Studio#50

Open
ip-gpu wants to merge 1 commit intocandera:masterfrom
ip-gpu:PVS_fixes
Open

fixed from PVS-Studio#50
ip-gpu wants to merge 1 commit intocandera:masterfrom
ip-gpu:PVS_fixes

Conversation

@ip-gpu
Copy link

@ip-gpu ip-gpu commented Nov 1, 2017

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warnings:

V611 The memory was allocated using 'new T[]' operator but was released using the 'delete' operator. Consider inspecting this code. It's probably better to use 'delete [] narrowMessage;'. Check lines: 'utilities.h:295', 'console.h:92'. console.h 92
V611 The memory was allocated using 'new T[]' operator but was released using the 'delete' operator. Consider inspecting this code. It's probably better to use 'delete [] normalizedPath;'. coptions.h 308

V611 The memory was allocated using 'new T[]' operator but was released using the 'delete' operator. Consider inspecting this code. It's probably better to use 'delete [] narrowMessage;'. Check lines: 'utilities.h:295', 'console.h:92'. console.h 92
V611 The memory was allocated using 'new T[]' operator but was released using the 'delete' operator. Consider inspecting this code. It's probably better to use 'delete [] normalizedPath;'. coptions.h 308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant