software: kernel: svec-core-fpga: Prevent memory leak and correspoing OOPS
If the driver is not able to create "dbg_dir", the pointer should be set as NULL and should not be left with some error-pointer. Reported-by: Federico Vaga <federico.vaga@cern.ch> Signed-off-by: Vaibhav Gupta <vaibhav.gupta@cern.ch>
Showing
Please
register
or
sign in
to comment