From 0d2b4002efc9f1e7d34d7c89654ef4b702dc025c Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Wed, 12 Aug 2026 18:41:55 +0100 Subject: [PATCH] fixes --- fleg/flag.odin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fleg/flag.odin b/fleg/flag.odin index 4f7657a..2bb4884 100644 --- a/fleg/flag.odin +++ b/fleg/flag.odin @@ -70,7 +70,6 @@ init_custom_allocator :: proc(allocator: runtime.Allocator) { } destroy :: proc() { - free_all(flag_allocator) delete(all_flags) all_flags = {} } @@ -144,7 +143,7 @@ Int32Var :: proc(ptr: ^i32, name: string, default: i32, usage: string, required Int64Var :: proc(ptr: ^i64, name: string, default: i64, usage: string, required := false) { if ptr == nil { - fmt.fprintfln(os.stderr, "[ERROR]: Invalid usage of Int32Var: got nil for 'ptr' value!") + fmt.fprintfln(os.stderr, "[ERROR]: Invalid usage of Int64Var: got nil for 'ptr' value!") os.exit(1) } ptr^ = default