Analyzer detected an attempt to release the memory occupied by the local variable. Such errors could be produced in case of careless refactoring or as misprints.
Let's review an example of the incorrect code:
void Foo()
{
int *p;
...
free(&p);
}
The corrected code:
void Foo()
{
int *p;
...
free(p);
}
This diagnostic is classified as:
|
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders:
Take
a chance!