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
This commit is contained in:
Thomas Martitz 2011-12-19 08:08:07 +00:00
parent b98d03f4c3
commit 6c6c476d57

View file

@ -284,6 +284,7 @@ buflib_compact(struct buflib_context *ctx)
}
else /* hole closed */
hole = NULL;
continue;
}
}
/* attempt move the allocation by shift */