clearlinux / clr-boot-manager

Kernel & Boot Loader Management
https://clearlinux.org/
111 stars 30 forks source link

bootvar: release memory before continue statement #172

Closed anselmolsm closed 5 years ago

anselmolsm commented 5 years ago

That way c->name (filled by a strdup) and c itself (just allocated) won't leak when c is not added to the boot records list.