Community
Participate
Working Groups
Build Identifier: Hi cppcheck (1.44) has found a couple of possible issues in org.eclipse.equinox.executable with the usage of realloc and a couple of possible memory leaks. I will attach a log ~Niels Reproducible: Always
Created attachment 187000 [details] cppcheck 2>equinox.cppcheck.log So I believe this one is a false-positive: [framework/bundles/org.eclipse.equinox.executable/library/eclipse.c:666]: (error) Memory leak: javaResults.errorMessage The realloc generally appears to be valid and I have manually verified [framework/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotifInit.c:108]: (error) Memory leak: path ~Niels
Right, I should probably note I checked out the code from CVS from [1]. ~Niels [1] http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.equinox/framework/bundles/org.eclipse.equinox.executable/?root=RT_Project
I have fixed the memory leak in eclipseMotifInit