modules: hostap: Fix double free of the event
When an event is sent the receiver gets is asynchronously and hence is
responsible for free the event, the sender should only free in case of
error conditions i.e., unable to send.
Else, this causes a tough to debug double-free.
Signed-off-by:
Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Loading
Please sign in to comment