Commit 34b86486 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dcp: Fix leak on error

CID #1463258
parent d4652c07
......@@ -981,6 +981,7 @@ int PKL::FindCPLs()
break;
case -1:
/* error */
delete cpl;
return -1;
case 0:
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment