From a8348f3bc930151bd9aa184c8372c6af0c782730 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 8 Jun 2017 19:57:18 +0100 Subject: Free the structure with the correct function call --- frontends/amiga/os3support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/amiga/os3support.c b/frontends/amiga/os3support.c index 5c1e40d1e..6dc95795f 100644 --- a/frontends/amiga/os3support.c +++ b/frontends/amiga/os3support.c @@ -338,7 +338,7 @@ int64 GetFileSize(BPTR fh) ExamineFH(fh, fib); size = fib->fib_Size; - free(fib); + FreeDosObject(DOS_FIB, fib); return (int64)size; } -- cgit v1.2.3