GNOME Bugzilla – Bug 752754
validate: valgrind errors
Last modified: 2015-10-02 15:48:02 UTC
1) errors-for-leak-kinds should be set to definite, because almost every test case, will have possibly lost memory, which may or may not be a leak. And throwing error for all these cases doesn't seem to be correct. 2) memory leak in override-registry.c
Created attachment 307958 [details] [review] set errors-for-leak-kinds as definite
Created attachment 307959 [details] [review] fix memory leak in override registry
Review of attachment 307959 [details] [review]: OK
Review of attachment 307958 [details] [review]: The idea until now is that they should be fixed or added to the suppression file if they were false positive. I guess it is OK to just ignore them for now though (no strong opinion about that).
Review of attachment 307958 [details] [review]: I'm fine adding this for now but please add a TODO saying it would be good to get rid of it using suppressions at some point.
Review of attachment 307958 [details] [review]: Or maybe we should make that list configurable by the testsuite?
Review of attachment 307958 [details] [review]: Marking as needs-work as per Guillaume's comment
Created attachment 308191 [details] [review] set errors-for-leak-kinds as definite Adding a TODO to make sure the false positives are added to suppression files
Comment on attachment 307959 [details] [review] fix memory leak in override registry commit 185b3b2d7e01d3cb0189fedb0fe7b54f764fb558 Author: Vineeth TM <vineeth.tm@samsung.com> Date: Thu Jul 23 13:35:04 2015 +0900 validate:override-registry: fix memory leak mutex is being initialized but not cleared. https://bugzilla.gnome.org/show_bug.cgi?id=752754
commit aa2c93c3d4f1663a0efe8c421fc95c0134092943 Author: Vineeth TM <vineeth.tm@samsung.com> Date: Mon Jul 27 08:46:01 2015 +0900 validate:launcher: throw valgrind error only for definite loss errors-for-leak-kinds should be set to definite, because almost every test case , will have possibly lost memory, which may or may not be a leak. And throwing error for all these cases doesn't seem to be correct. https://bugzilla.gnome.org/show_bug.cgi?id=752754