membuf: Correct implementation of membuf_dispose()
authorSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2025 15:20:46 +0000 (16:20 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 22:54:49 +0000 (16:54 -0600)
commit44e763bd6624f23fe6d94340efb43c627b5ce4a7
tree6c9732af20397ac2ce457c9f5b3c808b24cda398
parentf48f1705c357605f05f5a47b84c1c89dc33bec35
membuf: Correct implementation of membuf_dispose()

This should free the pointer, not the address of the pointer. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/membuf.c