mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-04 11:24:37 -04:00
change unneeded permanent allocation to temporary
This commit is contained in:
1 parent
cfc85fd737
commit
4fc96e1ca5
1 file changed
+1
-1
@@ -925,7 +925,7 @@ gb_internal LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
|
||||
|
||||
String name = type->Named.name;
|
||||
if (type->Named.type_name && type->Named.type_name->pkg && type->Named.type_name->pkg->name.len != 0) {
|
||||
name = concatenate3_strings(permanent_allocator(), type->Named.type_name->pkg->name, str_lit("."), type->Named.name);
|
||||
name = concatenate3_strings(temporary_allocator(), type->Named.type_name->pkg->name, str_lit("."), type->Named.name);
|
||||
}
|
||||
|
||||
Type *bt = base_type(type->Named.base);
|
||||
|
||||
Reference in new issue
Block a user