forgor builder_destroy, whoops
This commit is contained in:
@@ -48,6 +48,8 @@ main :: proc() {
|
||||
|
||||
//print html file name
|
||||
sb := strings.builder_make(arena_alloc) //sb for writing to files, resets ever iteration
|
||||
defer strings.builder_destroy(&sb)
|
||||
|
||||
strings.write_string(&sb, fmt.aprintf("%v", trimmed_filename, allocator = arena_alloc))
|
||||
strings.write_string(&sb, ".html")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user