Fix a possible memory leak in SetMenuItemInfo()

Free the pixbuf returned by gfx::GdkPixbufFromSkBitmap() to avoid a memory leak.

BUG=none

Review URL: https://codereview.chromium.org/177993002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253166 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253166
Fixed a corner-case of the auto-enrollment protocol.

ChromeOS checks if the device should automatically enroll for enterprise
management during OOBE. Part of this check involves uploading some bits
of a hash of the serial number. The server can then request for some
more bits, up to a limit; when that happens the client retries at most
once with the updated bits.

However, if the first request fails due to a network change event and
then the retry receives a modulus update request then the client won't
retry again, because it believes it has already retried. This change
fixes that, so that only retries triggered by modulus update requests
are limited.

BUG=346682
R=mnissler@chromium.org

Review URL: https://codereview.chromium.org/177953005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253167 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253167