mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 18:29:36 +01:00
fmt
This commit is contained in:
parent
a235b454cc
commit
70e56a41ce
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ nix_err nix_context_error(nix_c_context * context)
|
|||
const char * demangled = abi::__cxa_demangle(typeid(e).name(), 0, 0, &status);
|
||||
if (demangled) {
|
||||
context->name = demangled;
|
||||
free((void*)demangled);
|
||||
free((void *) demangled);
|
||||
} else {
|
||||
context->name = typeid(e).name();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue