I try to use inspector-xe to find mistakes in a quite large Fortran/C software. But I get many memory mistakes which I don't understand. Most of the time : "memory leaks", "Missing allocation" or "Invalid partial memory access". But I am unable to fix the problems.
For instance, in case of "Missing allocation", the explanation says that one tries to deallocate twice a same array or that a pointer is invalid. But in most of my programs, there is no DEALLOCATE statements because ! use the automatic deallocation feature of F95 at the end of procedures.
As demonstration of these inaccurate error messages, look at the following very short program :
Inspector-xe indicates here that a memory leak occurs at the line 3. In more complicated programs, in the same situation (writing an integer value into a string), I often gets an "Invalid partial memory access" instead of a "Memory leak".