Avoid potential memory leaks by first reading UE capabilities file (if present), and allocating only after the file read was successful.
Avoid potential memory leaks by first reading UE capabilities file (if present), and allocating only after the file read was successful.