This should free the pointer, not the address of the pointer. Fix it. Signed-off-by: Simon Glass <sjg at chromium.org> --- lib/membuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to sjg/master, thanks!