Fix a memory leak in AXPlatformNodeAuraLinux.
ui::AXPlatformNodeAuraLinux::OnDescriptionChanged() calls g_value_set_string(), which internally duplicates a string into a GValue. The GValue needs to be cleared before destruction to avoid leaking the memory used for the string duplication. BUG=961907 Change-Id: I38086cd421667dc2a4edf2a9325c5b15cde5645a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638947Reviewed-by:Joanmarie Diggs <jdiggs@igalia.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#665463}
Showing
Please register or sign in to comment