handling of blob_buf_free?

Nick vincent at systemli.org
Tue Oct 12 22:53:54 PDT 2021


Since I saw there were some new patches, e.g., procd, fixing 
blob_buf_free() calls.
I asked several months ago: "Should you call blob_buf_free() after 
calling blob_buf_init()?"
https://forum.openwrt.org/t/should-you-call-blob-buf-free-after-calling-blob-buf-init

I did not receive any answer. I think blob_buf_init() is freeing memory 
if it is the same buf?
Any suggestions how to use blob_buf_free?

Bests
Nick




More information about the openwrt-devel mailing list