Skip to content

Fix V701 warning from PVS-Studio Static Analyzer#2

Open
buslov wants to merge 1 commit intoFedjmike:masterfrom
buslov:V701_fix
Open

Fix V701 warning from PVS-Studio Static Analyzer#2
buslov wants to merge 1 commit intoFedjmike:masterfrom
buslov:V701_fix

Conversation

@buslov
Copy link

@buslov buslov commented Oct 30, 2017

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

Warning:
realloc() possible leak: when realloc() fails in allocating memory,
original pointer 'str' is lost.

realloc() possible leak: when realloc() fails in allocating memory,
original pointer 'str' is lost.
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