From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iEpNQ-0001Lx-Gz for barebox@lists.infradead.org; Mon, 30 Sep 2019 06:41:46 +0000 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Mon, 30 Sep 2019 08:41:36 +0200 Message-Id: <20190930064137.2091-2-u.oelmann@pengutronix.de> In-Reply-To: <20190930064137.2091-1-u.oelmann@pengutronix.de> References: <20190930064137.2091-1-u.oelmann@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/3] state: backend_bucket_circular: fix double free() To: Barebox List VGhpcyBwb3J0cyB0aGUgZm9sbG93aW5nIGR0LXV0aWxzIGNvbW1pdCAoYXMgdGhlIGFjdHVhbCBj b2RlIHRoYXQgaXMgY2hhbmdlZCBpcwpyZW1vdmVkIGJ5IHRoZSBwcmVwcm9jZXNzZXIgd2hlbiBj b21waWxpbmcgYmFyZWJveCB0aGlzIHBhdGNoIGlzIG9ubHkgb2YKY29zbWV0aWMgbmF0dXJlIHRv IGtlZXAgYm90aCBjb2RlIGJhc2VzIGluIHN5bmMpOgoKfCBjb21taXQgNjM0MzE3Y2M5MTIwMjMw NGMxNDc3YTZkNzM4ZDdjNzY5MWI4MDQxOQp8IEF1dGhvcjogS2ltIENocmlzdGVuc2VuIDxrY2hA c2tvdi5kaz4KfCBEYXRlOiAgIFdlZCBTZXAgMTggMTY6NDg6MjMgMjAxOSArMDIwMAp8CnwgICAg IHN0YXRlOiBiYWNrZW5kX2J1Y2tldF9jaXJjdWxhcjogZml4IGRvdWJsZSBmcmVlKCkKfAp8ICAg ICBU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