[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Leak Return



Hi,

I am creating a associative array (using MAP)
and inserting a couple of entries (about 500)

Throughout the insert procedure is successful.

But when I compile the code using a code coverage tool (insure++), 
I get a LEAK_RETURN warning at this statement during execution.

(But I am getting the desired result)

So my questions are :

1) What is a leak return ?
2) How can I avoid it ?

Regards,
Harpreet