mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-24 10:24:36 +03:00
Free the structure with the correct function call
This commit is contained in:
parent
103f99c210
commit
a8348f3bc9
@ -338,7 +338,7 @@ int64 GetFileSize(BPTR fh)
|
|||||||
ExamineFH(fh, fib);
|
ExamineFH(fh, fib);
|
||||||
size = fib->fib_Size;
|
size = fib->fib_Size;
|
||||||
|
|
||||||
free(fib);
|
FreeDosObject(DOS_FIB, fib);
|
||||||
return (int64)size;
|
return (int64)size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user