Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
14 - Leaking memory <pointer>.
This warning indicates that the specified pointer points to allocated memory or some other allocated resource that was not freed.
This warning is reported for both memory and resource leaks.
Example
Defective Source
char *p = (char *)malloc(10);
Corrected Source
char *p = (char *)malloc(10);
free (p);
Send Feedback on this topic to the authors