From 6c6c476d579aaa45c9b4a50e11756b3601195607 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 19 Dec 2011 08:08:07 +0000 Subject: [PATCH] Buflib: Fix handles being possibly moved twice Author: Boris Gjenero Fixes: FS#12441, FS#12464 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31359 a1c6a512-1295-4272-9138-f99709370657 --- firmware/buflib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/buflib.c b/firmware/buflib.c index 411480d09b..2d4b4b8bb2 100644 --- a/firmware/buflib.c +++ b/firmware/buflib.c @@ -284,6 +284,7 @@ buflib_compact(struct buflib_context *ctx) } else /* hole closed */ hole = NULL; + continue; } } /* attempt move the allocation by shift */