summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-06-08 18:57:18 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2017-06-08 18:57:18 (GMT)
commita8348f3bc930151bd9aa184c8372c6af0c782730 (patch)
tree18b862a42e6b231dae653976844e441f9b2250f8
parent103f99c2103f9c0a74b9da2d1d8958acd0ccb4cb (diff)
downloadnetsurf-a8348f3bc930151bd9aa184c8372c6af0c782730.tar.gz
netsurf-a8348f3bc930151bd9aa184c8372c6af0c782730.tar.bz2
Free the structure with the correct function call
-rw-r--r--frontends/amiga/os3support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/os3support.c b/frontends/amiga/os3support.c
index 5c1e40d..6dc9579 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;
}