llext: fix a memory leak in an error case
If a function fails it should release all the resources it has
managed to acquire. Fix llext_load() to free memory that it has
allocated in case of an error.
Signed-off-by:
Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Loading
Please sign in to comment