Descriptionviews/bookmarks: Fix memory leak in BookmarkEditorView.
Allocate |url_label_| on the stack instead of in the free store(heap), and set
set_parent_owned to false.
Thus, we manage its memory when we create a unittest with EditDetails::NEW_FOLDER.
BUG=92159
TEST=None
R=pkasting@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96572
Patch Set 1 : #
Total comments: 1
Patch Set 2 : allocate on free store(heap) instead #
Total comments: 4
Patch Set 3 : fix unittest? #Patch Set 4 : fix unittest? #Patch Set 5 : check #
Total comments: 2
Patch Set 6 : fix #Patch Set 7 : fix unittest breakage? #Patch Set 8 : one more try #
Messages
Total messages: 7 (0 generated)
|