DescriptionTry to fix the memory leak reports in g_restrictions.
This updates the Restrictions usage to be more consistent with other LazyInstances:
- do not copy and assign
- use static keyword
- use LAZY_INSTANCE_INITIALIZER
BUG=106571
TEST=existing
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117292
Patch Set 1 #Patch Set 2 : remove valgrind suppression #Patch Set 3 : different approach #
Messages
Total messages: 9 (0 generated)
|